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 22.214.171.124 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:
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information