"git ls-files -i" does not shows ignored files on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have encountered a strange problem on Windows (cygwin git 1.6.1.2
and msys git version 1.6.2.2.1669.g7eaf8).

Lets execute the following sequence of commands:

git init
echo a >.gitignore
echo test >a
git ls-files -i --exclude-standard

The last command in the sequence gives an empty output. But "git
status" and "git ls-files -o --exclude-standard" show only
".gitignore" file as untracked. So the file "a" is considered as
ignored by git, but it is not displayed in output "git ls-files -i
--exclude-standard".

Does the bug happen on other platforms and versions of git?

Regards,
Constantine
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]