Skip to content

Commit

Permalink
rebase -i: fix reword when using a terminal editor
Browse files Browse the repository at this point in the history
We don't want to use output() on git-commit --amend when rewording the
commit message. This leads to confusion as the editor is run in a
subshell with it's output saved away, leaving the user with a seemingly
frozen terminal.

Fix by removing the output part.

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Stephen Boyd authored and Junio C Hamano committed Oct 19, 2009
1 parent 6741aa6 commit 7725cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-rebase--interactive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ do_next () {
mark_action_done
pick_one $sha1 ||
die_with_patch $sha1 "Could not apply $sha1... $rest"
output git commit --amend
git commit --amend
;;
edit|e)
comment_for_reflog edit
Expand Down

0 comments on commit 7725cb5

Please sign in to comment.