author | Peter Harris <git@peter.is-a-geek.org> | |
Sat, 23 May 2009 08:04:47 +0000 (10:04 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 23 May 2009 08:54:45 +0000 (01:54 -0700) | ||
commit | bedc4279a833dc7f17ea7d1730d9f3e4ff018729 | |
tree | 0d2712e0459a6997643674b9dee482245e2ec9dc | tree | snapshot |
parent | 7f5a68ad4d0e00eb2f28405946ec0f2691d7ad81 | commit | diff |
MinGW: Scan for \r in addition to \n when reading shbang lines
\r is common on Windows, so we should handle it gracefully.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
\r is common on Windows, so we should handle it gracefully.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c | diff | blob | history |