diff options
Diffstat (limited to 'git-rebase--interactive.sh')
-rw-r--r-- | git-rebase--interactive.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh index f953d8d224..85f0e93eee 100644 --- a/git-rebase--interactive.sh +++ b/git-rebase--interactive.sh @@ -970,14 +970,14 @@ fi has_action "$todo" || - die_abort "Nothing to do" + return 2 cp "$todo" "$todo".backup git_sequence_editor "$todo" || die_abort "Could not execute editor" has_action "$todo" || - die_abort "Nothing to do" + return 2 test -d "$rewritten" || test -n "$force_rebase" || skip_unnecessary_picks |