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