TortoiseGit 2.5.0.0
git version 2.14.1.windows.1
Windows 7 Enterprise SP1, 64bit
Steps to reproduce
Create a new empty repository.
Create a .gitignore with the content subdir/
Create the subdir/ directory.
Create testfile under subdir/
What happens
Tortoisegit diff will show .gitignore as unversioned and subdir/testfile as ignored:
git status agrees on .gitignore but shows subdir/ as ignored instead of subdir/testfile, which isn't show at all:
$ git status --ignored
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
.gitignore
Ignored files:
(use "git add -f <file>..." to include in what will be committed)
subdir/
nothing added to commit but untracked files present (use "git add" to track)
Icon overlay of subdir/testfile is missing, which is expected since the file is ignored.
Icon overlay of subdir/ shows as modified, which is unexpected since it's ignored.
What I expect
Icon overlay of subdir/ should be missing since the directory is ignored.
TortoiseGit 2.5.0.0 git version 2.14.1.windows.1 Windows 7 Enterprise SP1, 64bit
Steps to reproduce
.gitignore
with the contentsubdir/
subdir/
directory.testfile
undersubdir/
What happens
Tortoisegit diff will show
.gitignore
as unversioned andsubdir/testfile
as ignored:git status
agrees on.gitignore
but showssubdir/
as ignored instead ofsubdir/testfile
, which isn't show at all:Icon overlay of
subdir/testfile
is missing, which is expected since the file is ignored.Icon overlay of
subdir/
shows as modified, which is unexpected since it's ignored.What I expect
Icon overlay of
subdir/
should be missing since the directory is ignored.