Code

Make templates honour SHELL_PATH and PERL_PATH
[git.git] / templates / hooks--pre-rebase.sample
index be1b06e25043146f22261b55548229e6ab524b7c..ab1c4c89287a2224c0b2872d3b64d6d67393d2f9 100755 (executable)
@@ -65,7 +65,7 @@ then
        fi
 else
        not_in_next=`git-rev-list --pretty=oneline ^${publish} "$topic"`
-       perl -e '
+       @PERL_PATH@ -e '
                my $topic = $ARGV[0];
                my $msg = "* $topic has commits already merged to public branch:\n";
                my (%not_in_next) = map {