upload-pack: support hidden refs with protocol v2
[gitweb.git] / t / t4031-diff-rewrite-binary.sh
index e8ee06e29cf2592e12aeb8043a671e28e335399b..eacc6694f785acb2e6287dd4c5bce9a5e834a361 100755 (executable)
@@ -60,7 +60,7 @@ test_expect_success 'diff --stat counts binary rewrite as 0 lines' '
 {
        echo "#!$SHELL_PATH"
        cat <<'EOF'
-$PERL_PATH -e '$/ = undef; $_ = <>; s/./ord($&)/ge; print $_' < "$1"
+"$PERL_PATH" -e '$/ = undef; $_ = <>; s/./ord($&)/ge; print $_' < "$1"
 EOF
 } >dump
 chmod +x dump