zeflex
zeflex

Reputation: 1527

Unable to check diffs with TortoiseGit: "fatal: empty string is not a valid pathspec"

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.

Upvotes: 21

Views: 19042

Answers (1)

MrTux
MrTux

Reputation: 34032

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

Update: Use the latest stable version of TortoiseGit: https://tortoisegit.org/download/

Upvotes: 24

Related Questions