OSX: Failed to execute GIT only on "normal" Status update (but it was executed)
Kuranes opened this issue · comments
Tuan Kuranes commented
On Latest OSX, latest vscode and edamagit
- Other git commands works well, like if in a middle of a rebase, the magit-status works
- hitting G in magit-status or calling vscode command pallete magit-status does updates the vsocode git sidebar (so command indeed run but edamagit seems to not get correct or expected output of it)
(no other extensions, no problem with xcode --select acceptance, etc and git does works in cli terminal or vscode sidebar)
2024-03-08 08:07:37.058 [error] Error: Failed to execute git
at t.Git._exec (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:905391)
at async t.Git.exec (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:904459)
at async F.exec (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:910055)
at async F.diffWithHEAD (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:913922)
at async T.retryRun (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1022562)
at async T.run (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/main.js:2:1022166)
at async /Users/paul/.vscode/extensions/kahole.magit-0.6.59/dist/extension.js:2:237514
at async Promise.all (index 0)
Tuan Kuranes commented
The Current git status was with staged, and non straged changes and behind remote origin by 1 commits, fastforwardable
I just Pushed force and status works again, so definitely related to repository status in some ways
If I do a "reset soft HEAD~1" it breaks again
Tuan Kuranes commented
Closing because not directly related to edamagit: Reason was gitconfig badl Diff tool specification that was broking the magit status result parsing