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?
- Add directory named, '.dir'.
- Right-click -> TortoiseGIT -> Add to ignore list
- 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.