Currently, I did a re-installation of my windows 10. I also installed Git and TortoiseGit.
Right now when I try to check diffs I have theses two errors in a window:
fatal: empty string is not a valid pathspec, please use . instead if you meant to match all paths
I click ok, then the other window error is:
Failed to get UnRev file list fatal: empty string is not a valid pathspec, please use . instead if you meant to match all paths
I click ok and it does not show me any errors in the "working tree" diffs.
Git.exe is in :
C:\Program Files\Git\bin
And the path is set correctly in the General menu (settings) of Tortoisegit.
Anyone know how to fix this issue ? Thanks.
TortoiseGit 2.5 is not yet fully compatible to Git 2.16. See https://TortoiseGit.org and the corresponding bug report: https://TortoiseGit.org/issue/3138
The latest preview release already contains a fix: https://download.tortoisegit.org/tgit/previews/
Update: Use the latest stable version of TortoiseGit: https://tortoisegit.org/download/