Teach git-fetch to exploit server side automatic tag following
[gitweb.git] / t / t3404-rebase-interactive.sh
index e5ed74545b8a2ac9c2063b2ae40d7c661bda0260..049aa375381b5929d1f35b7316c3fe6a647e4f93 100755 (executable)
@@ -61,8 +61,8 @@ test_expect_success 'setup' '
        git tag I
 '
 
-cat > fake-editor.sh <<\EOF
-#!/bin/sh
+echo "#!$SHELL_PATH" >fake-editor.sh
+cat >> fake-editor.sh <<\EOF
 case "$1" in
 */COMMIT_EDITMSG)
        test -z "$FAKE_COMMIT_MESSAGE" || echo "$FAKE_COMMIT_MESSAGE" > "$1"