Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 364
    • Issues 364
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • 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
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