DonJayamanne / gitHistoryVSCode

Git History for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory
MIT License
952 stars 154 forks source link

[BUG] View File History & View Line History don't work until after using View History (git log) #715

Open RobbyCBennett opened 2 years ago

RobbyCBennett commented 2 years ago

Describe the Bug

This bug only seems to be happening for projects with multiple repos. I haven't been able to use View File History lately. I started using other functions of the extension. I eventually figured out that I need to first use View History (git log) and choose the repo. Then, the other 2 commands work. However, the extension should be able to tell the repo from the file that I'm editing.

Steps To Reproduce

  1. Make a project with 2 repos.
  2. Open a file
  3. Use the command for View File History or View Line History
  4. Nothing happens

Expected Behavior

The list of file history or line history appears.

Environment