author | Alex Riesen <raa.lkml@gmail.com> | |
Wed, 2 Nov 2005 13:05:45 +0000 (14:05 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 3 Nov 2005 00:50:58 +0000 (16:50 -0800) | ||
commit | d317e4384acd5646f2ba44197a531c129b26b57e | |
tree | 29e2eac910f75f58e824d17972a93a52c1a0db47 | tree | snapshot |
parent | 13d1cc3604a1a64cb5a6025bba8af8b74a373963 | commit | diff |
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>
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 | diff | blob | history | |
t/t3001-ls-files-others-exclude.sh | diff | blob | history |