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

匿名 (未验证) 提交于 2019-12-03 01:10:02

问题:

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.

回答1:

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/



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!