You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This started occurring after updating from 0.1.21 -> 0.1.23, when GitLG started respecting the "git.path" setting from #90. It looks like we need to either quote or escape spaces in git.path. My user settings originally had this:
Any attempt to display the Git Log from either the status bar or repository view causes the following error:
GitLG: An unexpected error happened. Error summary: {"error_response":"'C:\\Program' is not recognized as an internal or external command,\r\noperable program or batch file.","request":{"command":"git","data":{"args":"log --graph --author-date-order --date=iso-local --pretty=format:\"^%^%^%^%^%H^%^%^%^%^%h^%^%^%^%^%aN^%^%^%^%^%aE^%^%^%^%^%ad^%^%^%^%^%D^%^%^%^%^%s\" --decorate=full --color=never -n 100 --all"},"id":10,"type":"request-from-web"}}. For details, see VSCode developer tools console. Please consider reporting this error.
No Git Log is displayed. It only shows the top status bar followed by "Loading...". I've cleared all GitLG settings from both User and Workspace preferences.
All regular VS Code git commands work fine with the git.path setting.
This is on Windows 11 23H2, VS Code 1.88.0 (latest version permitted by my company).
Current workaround is to put your desired "git" installation into PATH and remove the "git.path" setting, or install git to a path that does not contain spaces. It appears I did something that caused the setting to be applied autonomously, so it may effect other Windows users without knowledge that their settings were updated with this breaking path.
I declare this as "low priority" since the workaround is simple enough, as long as Windows users are aware of it.
The text was updated successfully, but these errors were encountered:
This started occurring after updating from 0.1.21 -> 0.1.23, when GitLG started respecting the "git.path" setting from #90. It looks like we need to either quote or escape spaces in git.path. My user settings originally had this:
Any attempt to display the Git Log from either the status bar or repository view causes the following error:
No Git Log is displayed. It only shows the top status bar followed by "Loading...". I've cleared all GitLG settings from both User and Workspace preferences.
All regular VS Code git commands work fine with the git.path setting.
This is on Windows 11 23H2, VS Code 1.88.0 (latest version permitted by my company).
Current workaround is to put your desired "git" installation into PATH and remove the "git.path" setting, or install git to a path that does not contain spaces. It appears I did something that caused the setting to be applied autonomously, so it may effect other Windows users without knowledge that their settings were updated with this breaking path.
I declare this as "low priority" since the workaround is simple enough, as long as Windows users are aware of it.
The text was updated successfully, but these errors were encountered: