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 382
    • Issues 382
    • 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
  • #861
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

TGitCache gets confused about file status (should detect touched file as unmodified)

By telgl... on August 16, 2011 19:33 (imported from Google Code)


*What steps will reproduce the problem?

  1. Create an empty repository.
  2. Create a new, small, non-empty text file.
  3. Commit the file.

*What is the expected output? What do you see instead?
File and folder icon overlays should be green "OK." Instead they are blue "+" sign indicating file staged but not committed. However, the file was committed, proven by checking status using command line git.

*Next step
4. Killing TGitCache.exe and allowing it to restart restores correct icon.

*Next step
5. Open bash console and "touch" the file. This changes the time stamp without altering content.

*Next problem
TGit file and folder icon overlays change to red "!" indicating changed working directory.

This is incorrect - changing the timestamp does not change the file content.

*Next step
6. Right-click, choose "commit" or "check for modifications"

*Next problem
Despite red "!" overlays, there are no changes.

*Next step
7. Killing TGitCache.exe task and allowing it to restart restores correct icon overlays. Sometimes. I can't figure out what makes it work sometimes but not always.

What version of the product are you using? On what operating system?
TGit 1.7.2; msysgit 1.7.6; Win XP SP 3.

Please provide any additional information below.

I never saw the problem at step 3, with "added" status, in TGit 1.6.5.

In 1.6.5 I occasionally saw the problem that TGit would insist on displaying the red bang icon after committing files, but it is much worse in 1.7.2.

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