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 386
    • Issues 386
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • 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
  • #1521
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Directories with period at beginning are recognized as file extensions showing *.dir

By ja...@essential-elements.net on November 14, 2012 16:30 (imported from Google Code)


What steps will reproduce the problem?

  1. Add directory named, '.dir'.
  2. Right-click -> TortoiseGIT -> Add to ignore list
  3. Choose '*.dir'

What is the expected output? What do you see instead?
Expected output would be .dir/* or .dir.

What version of TortoiseGit and msysgit are you using? On
what operating system?

Windows 7 with TortoiseGit 1.7.14.0 and git version 1.7.11.msysgit.1

Please provide any additional information below.

Choosing the first option in the 'Add to ignore list' works. Interestingly, the *.dir only shows up for directories that have a period at the beginning. Most likely that might be a regex problem or recognizing the .dir as a file and therefore attempting to ignore all files of that type. The ignore probably checks for isDirectory and simply adds the * instead of adding the directory.

Perhaps checking whether or not something is a directory before showing the *.ext.

Really a UI problem. If I had known that the option was a .extension and not equiv. to dir/ like SVN, I would have chosen the first option.

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