block-sha1: split the different "hacks" to be individually selected
[gitweb.git] / git-rebase--interactive.sh
index f96d887d23653019e3387eced2779d50b3f09fa2..23ded48322bf795b06aa40e4684bc710c8232549 100755 (executable)
@@ -703,7 +703,7 @@ first and then run 'git rebase --continue' again."
                                        preserve=t
                                        for p in $(git rev-list --parents -1 $sha1 | cut -d' ' -s -f2-)
                                        do
-                                               if test -f "$REWRITTEN"/$p -a \( $p != $UPSTREAM -o $sha1 = $first_after_upstream \)
+                                               if test -f "$REWRITTEN"/$p -a \( $p != $ONTO -o $sha1 = $first_after_upstream \)
                                                then
                                                        preserve=f
                                                fi