After updating to the latest version of smerge on Windows 10 1903, whenever I open my largest repo, it’s trying to say all files are currently staged. Checking this with Git on the command lines shows that no files are staged. This causes smerge to lock up and become unusable.
What status are the files on the command line?
Have you tried refreshing the repository? (menu:
Are all of the files part of the current repository or in submodule(s)?
HEAD commit exist? (menu:
Go To HEAD) If so, is it the correct
Did you see this in any other repository that you had previously open in SM?
No other repos have this issue.
We have no submodules.
Command line shows no changes, working tree clean.
I’ll try refreshing the repo.
Refreshing the repo didn’t work.
Perhaps you’re using a split index, which Sublime Merge doesn’t currently support - this would be indicated via having a file name like
sharedindex.52be20cbc4dcd20dd1facbfeecfa26944953a509 in your
If it’s not that, it’d be handy if you could paste the output from the
Help/Debug Information menu (but don’t forget to remove any confidential information from that output, such as private file paths)
I should add that smerge was working fine with this repo this morning on version 1107 before I updated to 1116.
I’ll get the debug info as soon as I’m back at that PC.
Thanks for that.
Can you confirm:
A) Is there a file starting with
sharedindex. in your git repository’s
B) If you run the 1107 portable version (from https://download.sublimetext.com/sublime_merge_build_1107_x64.zip), does it work correctly on the repository?
Mobile version of 1107 works fine.
Thanks for the investigation.
I’ve been going through the repository changes from 1107 and 1116, and one of the changes was introducing size limits (done as part of the click-to-show-diff feature for large files). It appears a size limit was incorrectly placed on opening .pack files: if one of the .pack files in
.git/objects/pack is larger than 32gb, then 1116 can show every file as staged.
I’ll fix that for the next build.
Thanks! This is an older repo that we brought over from SVN with tons and tons of .png and .ai files in it. It’s definitely over 32gb.
I have the exact same issue since last update (build 2049). I checked there is no
Is this a known regression ? Are there any workaround ?
Sorry to hear you’re having issues using Sublime Merge - I can investigate this.
Would you mind submitting an issue report here: https://github.com/sublimehq/sublime_merge/issues/new/choose
It would be really useful if you could also include the debug information in the bug report:
- Open Sublime Merge
- Open the repository with the issue
Help > Debug Information
- Before sharing this, take a moment to remove any information you feel is sensitive (email addresses, file paths etc)
Thanks for your answer.
I filed an issue ticket: https://github.com/sublimehq/sublime_merge/issues/1094.
Please, tell me if you need any additional information.