MinGW: Scan for \r in addition to \n when reading shbang lines
commitbedc4279a833dc7f17ea7d1730d9f3e4ff018729
authorPeter Harris <git@peter.is-a-geek.org>
Sat, 23 May 2009 08:04:47 +0000 (23 10:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 May 2009 08:54:45 +0000 (23 01:54 -0700)
tree0d2712e0459a6997643674b9dee482245e2ec9dc
parent7f5a68ad4d0e00eb2f28405946ec0f2691d7ad81
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>
compat/mingw.c