author | Johannes Sixt <j6t@kdbg.org> | |
Fri, 1 Jan 2010 22:14:06 +0000 (23:14 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Jan 2010 07:40:43 +0000 (23:40 -0800) | ||
commit | fa7151a61edf585abdbb3d2831e7992bf3925671 | |
tree | df0ecf18d33d4a12eb100b5e66710bd748846e40 | tree | snapshot |
parent | 8dba1e634af1d973a47fca616a63e7062a256790 | commit | diff |
t0021: use $SHELL_PATH for the filter script
On Windows, we need the shbang line to correctly invoke shell scripts via
a POSIX shell, except when the script is invoked via 'sh -c' because sh (a
bash) does "the right thing". But the clean and smudge filters will not
always be invoked via 'sh -c'; to futureproof, we should mark the the one
in t0021-conversion with #!$SHELL_PATH.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
On Windows, we need the shbang line to correctly invoke shell scripts via
a POSIX shell, except when the script is invoked via 'sh -c' because sh (a
bash) does "the right thing". But the clean and smudge filters will not
always be invoked via 'sh -c'; to futureproof, we should mark the the one
in t0021-conversion with #!$SHELL_PATH.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0021-conversion.sh | diff | blob | history |