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
As it's explained in the bug report:
I eventually figured out that I need to first use View History (git log) and choose the repo. Then, the other 2 commands work
So, try to use first View History and then try again with ViewFileHistory
There is also a older bug report with the same issue, where the workaround to fix it seems to be:
Uninstall the extension
remove the directory from C:\Users\ue.vscode\extensions (for windows)
It could be related to this bug.
As it's explained in the bug report:
So, try to use first
View Historyand then try again withViewFileHistoryThere is also a older bug report with the same issue, where the workaround to fix it seems to be: