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
  • #3108
Closed
Open
Issue created Nov 10, 2017 by Robert Pollak@jondoContributor

Versioned file in ignored folder causes wrong overlays

To reproduce:

  • Create a new, empty repo.
  • Create a directory dir with two files ignored.txt and versioned.txt.
  • Create a top level .gitignore with the line /dir/.

Until now, everything is fine, and (only after restarting TGitCache.exe, which is a separate bug) the directory itself as well as the two contained files are displayed with the "ignored" overlay icon.

  • Now select TortoiseGit->Add... from the context menu of versioned.txt. This triggers the bug that now the overlay icon of ignored.txt has changed to "unknown". This contradicts the fact that ignored.txt is still (and correctly) not listed in the commit dialog.

The wrong overlay icon stays like that even after a commit.

My workaround: Changing the .gitignore line to /dir/*.

(Seen with TortoiseGit-preview-2.5.3.0-20171029-d7ba7e9-64bit.msi on Windows 7.)

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