vscode-git-graph
vscode-git-graph copied to clipboard
Unable to load Git Graph - windows10 - cygdrive (cygwin path)
Describe the Bug If I open project from cygwin, the vscode could find out the folder path correctly, but Git Graph not.
[2022-09-25 05:36:47.071] Starting Git Graph ...
[2022-09-25 05:36:47.894] Using git (version: 2.37.3)
[2022-09-25 05:36:47.910] Started Git Graph - Ready to use!
[2022-09-25 05:36:47.910] Searching workspace for new repos ...
[2022-09-25 05:36:47.919] > git rev-parse --show-toplevel
[2022-09-25 05:36:47.976] Successfully set Visual Studio Code Context "git-graph:codiconsSupported" to "true"
[2022-09-25 05:36:48.762] Added new repo: /cygdrive/c/Users/tester/Documents/Projects/sandfox-png-handler
[2022-09-25 05:36:48.765] Completed searching workspace for new repos
[2022-09-25 05:36:48.765] Showing "Git Graph" Status Bar Item
[2022-09-25 05:37:00.493] > git rev-parse --show-toplevel
[2022-09-25 05:37:00.546] Created Git Graph View
[2022-09-25 05:37:00.931] > git branch -a --no-color
[2022-09-25 05:37:00.934] > git remote
[2022-09-25 05:37:00.936] > git reflog --format=... refs/stash --
[2022-09-25 05:37:00.939] > git rev-parse --show-toplevel
[2022-09-25 05:37:00.940] Started watching repo: /cygdrive/c/Users/tester/Documents/Projects/sandfox-png-handler
[2022-09-25 05:37:00.969] > git rev-parse --show-toplevel
[2022-09-25 05:37:00.969] Removed repo: /cygdrive/c/Users/tester/Documents/Projects/sandfox-png-handler
[2022-09-25 05:37:00.969] Hiding "Git Graph" Status Bar Item
Steps to Reproduce Steps to reproduce the behaviour:
- Go to cygwin bash
- cd /project/folder
- Type
code .
- Run command (Ctrl+Shift+P)
Git Graph: View Git Graph (git log)
- See error in the View :
Unable to load Git Graph
Expected Behaviour Locate git repository properly from vscode project root.
Environment
- Git Graph Extension Version: v1.30.0
- Visual Studio Code Version: 1.71.2
- Operating System: Windows 10
Any news about this or any temporary fixes? It doesn't work anymore. On 1 machine I haven't restart vs code, is still work. But when I restart vscode it stops to work on my project with multiple components. The root project is still working, but then for component it says "Unable to load Git Graph", even the .git folder is there. I can operate git commands with the integrated terminal. It just seems that something has been changed on vscode, and git-graph isn't able to find the .git repository of the current folder/workspace.
I encountered this error on Win11, but git commit
is normal