X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-rebase--interactive.sh;h=436b7f5977c05c347debc12130f822af482c03e3;hb=770c54170a43ffb3810088a85f25c59c0cbf7b38;hp=b817c4a76e54c31f5a21d8196729f0cfb31997cf;hpb=02125bcc41aed022ddcb5955935726e50d89b60e;p=git.git diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh index b817c4a76..436b7f597 100755 --- a/git-rebase--interactive.sh +++ b/git-rebase--interactive.sh @@ -565,6 +565,7 @@ do_next () { git diff-tree --stat $(cat "$DOTEST"/head)..HEAD } && { + test -s "$REWRITTEN_LIST" && git notes copy --for-rewrite=rebase < "$REWRITTEN_LIST" || true # we don't care if this copying failed } &&