diff options
Diffstat (limited to 'git-rebase--am.sh')
-rw-r--r-- | git-rebase--am.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/git-rebase--am.sh b/git-rebase--am.sh index 263987c55d..c9604a67d1 100644 --- a/git-rebase--am.sh +++ b/git-rebase--am.sh @@ -26,9 +26,5 @@ git format-patch -k --stdout --full-index --ignore-if-in-upstream \ git am $git_am_opt --rebasing --resolvemsg="$resolvemsg" && move_to_original_branch ret=$? -test 0 != $ret -a -d "$state_dir" && - echo $head_name > "$state_dir/head-name" && - echo $onto > "$state_dir/onto" && - echo $orig_head > "$state_dir/orig-head" && - echo "$GIT_QUIET" > "$state_dir/quiet" +test 0 != $ret -a -d "$state_dir" && write_basic_state exit $ret |