Tighten refspec processing
[gitweb.git] / git-filter-branch.sh
index efef732202fb10b632b36c5080bcec2302217a7d..22b6ed4a784192bb865dff83731255b1979a1e39 100755 (executable)
@@ -309,7 +309,7 @@ while read commit parents; do
        sed -e '1,/^$/d' <../commit | \
                eval "$filter_msg" > ../message ||
                        die "msg filter failed: $filter_msg"
-       sh -c "$filter_commit" "git commit-tree" \
+       @SHELL_PATH@ -c "$filter_commit" "git commit-tree" \
                $(git write-tree) $parentstr < ../message > ../map/$commit
 done <../revs