LoginSignup
1
1

More than 5 years have passed since last update.

TortoiseGit で差分が見れない

Posted at

TortoiseGit 2.5.0.0 と Git for Windows 2.16 は相性が悪い

結論から行くと、Git for Windows 2.16 には、TortoiseGit 2.6 以降を入れた方がよさそう。

状況

TortoiseGit Version (befor)

掲題の通り、TortoiseGit 2.5.0.0 と Git for Windows 2.16 の場合、差分を表示しようとすると、次のエラーが発生した。

fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths

fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths

Failed to get UnRev file list fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths

Failed to get UnRev file list
fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths

原因

TortoiseGit側の問題らしい。

解決方法

TortoiseGit のバージョンを上げることで解消。

TortoiseGit Version (after)

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1