remove CR/LF from .gitignore
commitd317e4384acd5646f2ba44197a531c129b26b57e
authorAlex Riesen <raa.lkml@gmail.com>
Wed, 2 Nov 2005 13:05:45 +0000 (2 14:05 +0100)
committerJunio C Hamano <junkio@cox.net>
Thu, 3 Nov 2005 00:50:58 +0000 (2 16:50 -0800)
tree29e2eac910f75f58e824d17972a93a52c1a0db47
parent13d1cc3604a1a64cb5a6025bba8af8b74a373963
remove CR/LF from .gitignore

For everyone cursed by dos/windows line endings (aka CRLF):

The code reading the .gitignore files (excludes and excludes per
directory) leaves \r in the patterns, which causes fnmatch to fail for
no obvious reason. Just remove a "\r" preceding a "\n"
unconditionally.

Signed-off-by: Junio C Hamano <junkio@cox.net>
ls-files.c
t/t3001-ls-files-others-exclude.sh