OSDN Git Service

Fix t4031
authorJunio C Hamano <gitster@pobox.com>
Wed, 10 Dec 2008 19:39:07 +0000 (11:39 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Dec 2008 19:39:07 +0000 (11:39 -0800)
When I tweaked the patch to use $SHELL_PATH instead of a hard-coded
"#!/bin/sh" to produce 3aa1f7c (diff: respect textconv in rewrite diffs,
2008-12-09), I screwed up.  This should fix it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4031-diff-rewrite-binary.sh

index 157ed85..a894c60 100755 (executable)
@@ -46,7 +46,7 @@ test_expect_success 'rewrite diff can show binary patch' '
 
 {
        echo "#!$SHELL_PATH"
-       cat >dump <<'EOF'
+       cat <<'EOF'
 perl -e '$/ = undef; $_ = <>; s/./ord($&)/ge; print $_' < "$1"
 EOF
 } >dump