Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3039
Closed
Open
Issue created Jul 27, 2017 by Dizzy H. Slightly Voided@DizzyHSlightlyVoided

Icon overlays don't update properly when committing after gc prune on the command line

What steps will reproduce the problem?

  1. Perform a gc prune operation on the command-line, i.e. git gc --prune=now --aggressive
  2. 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 2.5.0.0 on Windows 10.

Other information

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:

TestGit

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking