Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
TortoiseGit
TortoiseGit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 302
    • Issues 302
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGit
  • 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
None
Milestone
None
Assign milestone
Time tracking