Everytime I click Git: View History I always get fatal: not a git repository (or any of the parent directories): .git and I have to manually select repo dir from the prompt. I thought the plugin would find closest .git dir from its ancestors? Or is this kinda disabled but somehow I can enable it? Or is this feature missing for now?
Update:
So looks like this happens if there is a sibling git repo. Here is what I tried:
Two git repos inside a regular top folder:
top/repoa/
top/repob/
Add a single repo to workspace, it works fine. No error, no prompt.
Add both repos, each as a uniq vscode workspace. No error, but I have to select repo dir from the prompt. Would like to see the plugin automatically guess repo dir based on dir of the file it's operating on.
Add top level folder as a single vscode workspace. Now I am having the problem I posted above - there is error and I still see the prompt, and I still get the log after selecting repo dir from prompt.
Everytime I click
Git: View History
I always getfatal: not a git repository (or any of the parent directories): .git
and I have to manually select repo dir from the prompt. I thought the plugin would find closest.git
dir from its ancestors? Or is this kinda disabled but somehow I can enable it? Or is this feature missing for now?Update: So looks like this happens if there is a sibling git repo. Here is what I tried: