Icon overlays don't update properly when committing after gc prune on the command line
What steps will reproduce the problem?
- Perform a gc prune operation on the command-line, i.e.
git gc --prune=now --aggressive
- Create a new commit under any circumstances -- the TortoiseGit UI, the command-line, anywhere.
What is the expected output? What do you see instead?
Files which were changed prior to the commit, and which were committed as part of the previous commit, still have "modified" or "added" icons over them. Opening a TortoiseGit "Commit" or "Revert" window shows them as unmodified.
What version of TortoiseGit and Git are you using? On what operating system?
Version 220.127.116.11 on Windows 10.
The invalid icon overlays remain in place until either TGitCache is restarted, the directory containing the archive is moved or renamed (or sent to the trash and then restored), or another gc prune operation is performed.
This is a screenshot of a test-repository I made showing the effect: