"Check for modifications", "Revert" and other dialogs do not work after git update to version 2.16.0: "fatal: empty string is not a valid pathspec"

What steps will reproduce the problem?

  1. Context menu on repository directory -> Tortoise Git -> Git check for modifications

What is the expected output? What do you see instead?

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

After click on OK next message box: Failed to get UnRev file list fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths

What version of TortoiseGit and Git are you using? On what operating system?

  • TortoiseGit 2.5.0.0 (C:\Program Files\TortoiseGit\bin)
  • git version 2.16.0.windows.2 (C:\Program Files\Git\bin; C:\Program Files\Git\mingw64; C:\Program Files\Git\mingw64\etc\gitconfig; C:\ProgramData\Git\config)

Windows 10 last version fully up to date

Edited Jan 21, 2018 by Sven Strickroth
Assignee Loading
Time tracking Loading