I’m in need of some troubleshooting advice with Sublime Merge suddenly not being able to fully create a new repo’s .git folder contents successfully and also not being able to parse an existing repo’s .git folder contents, specifically the index file. I’ve only started looking into this yesterday afternoon when I became aware of it, but I was using Sublime Merge on this computer some months ago without failure. I did update Sublime Merge to Build 2110 yesterday before the errors began, but then fully uninstalled and re-installed the older version Build 2102 only to witness the same errors so not sure where to go with troubleshooting at the moment.
I’ve been working without Sublime Merge with Git Bash CLI for the time being without fail. Looking for suggestions to try.
A few things I have done so far:
- Downgraded to Build 2102, tested, recreated error, then upgraded again back to Build 2110.
- Switched from System Git to Built-In Git, errors were recreated with both.
- Updated system installed Git for Windows to latest. Retested again with Sublime Merge, errors recreated.
- Used the portable version of Sublime Merge. Errors recreated.
- Disabled Malwarebytes completely and retested with errors recreated.
- Clone new repo from Gitea, GitHub, or GitLab with same result.
Here’s some output captured from the Sublime Terminal showing some details.
Existing Repo
DPI mode: per-monitor v2
startup, version: 2110 windows x64
executable: /C/Program Files/Sublime Merge/sublime_merge.exe
application: /C/Program Files/Sublime Merge
working dir: /C/Program Files/Sublime Merge
packages path: /C/Users/User/AppData/Roaming/Sublime Merge/Packages
state path: /C/Users/User/AppData/Roaming/Sublime Merge/Local
zip path: /C/Program Files/Sublime Merge/Packages
zip path: /C/Users/User/AppData/Roaming/Sublime Text 3/Installed Packages
zip path: /C/Users/User/AppData/Roaming/Sublime Merge/Installed Packages
ignored_packages: ["Vintage"]
generating syntax summary
error parsing lexer: Packages/PHP/Embeddings/Diff (for PHP Interpolated).sublime-syntax: unable to read base syntax "Packages/Diff/Diff.sublime-syntax" at line 7 column 10
error parsing lexer: Packages/Git Formats/Git Diff.sublime-syntax: unable to read base syntax "Packages/Diff/Diff (Basic).sublime-syntax" at line 10 column 10
pre session restore time: 1.26397
OpenGL Context Information:
GL API Version: 4.6.13596 Compatibility Profile Context 20.10.32.06 27.20.11032.6002
GLSL Version: 4.60
Vendor: ATI Technologies Inc.
Renderer: AMD Radeon(TM) Graphics
loading dictionary Packages/Language - English/en_US.dic
loading repo /C/Users/User/Documents/LocalRepo/somefolder/somerepo/.git
first paint time: 1.58597
head changed to 0c13b5c6c13a87619c58dca6429df8c12a98fd4c
failed to build index table
Existing Repo’s .git folder contents
hooks
info
logs
objects
refs
COMMIT_EDITMSG
config
description
FETCH_HEAD
HEAD
index
ORIG_HEAD
packed-refs
New Repo Created With Sublime Merge
DPI mode: per-monitor v2
startup, version: 2110 windows x64
executable: /C/Program Files/Sublime Merge/sublime_merge.exe
application: /C/Program Files/Sublime Merge
working dir: /C/Program Files/Sublime Merge
packages path: /C/Users/User/AppData/Roaming/Sublime Merge/Packages
state path: /C/Users/User/AppData/Roaming/Sublime Merge/Local
zip path: /C/Program Files/Sublime Merge/Packages
zip path: /C/Users/User/AppData/Roaming/Sublime Text 3/Installed Packages
zip path: /C/Users/User/AppData/Roaming/Sublime Merge/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 0.137132
OpenGL Context Information:
GL API Version: 4.6.13596 Compatibility Profile Context 20.10.32.06 27.20.11032.6002
GLSL Version: 4.60
Vendor: ATI Technologies Inc.
Renderer: AMD Radeon(TM) Graphics
loading dictionary Packages/Language - English/en_US.dic
first paint time: 0.450132
Executing: "C:\Program Files\Git\cmd\git.exe" init
Working dir: C:\Users\User\Desktop\WholeNewRepo
loading repo /C/Users/User/Desktop/WholeNewRepo/.git
unable to open index: Unable to open index: CreateFile failed at sgit::open_index: sgit/index.cc:17
Folder contents of .git in new repo
hooks
info
objects
refs
config
description
HEAD