Skip to content

Commit 7725cb5

Browse files
bebarinogitster
authored andcommitted
rebase -i: fix reword when using a terminal editor
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6741aa6 commit 7725cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-rebase--interactive.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ do_next () {
346346
mark_action_done
347347
pick_one $sha1 ||
348348
die_with_patch $sha1 "Could not apply $sha1... $rest"
349-
output git commit --amend
349+
git commit --amend
350350
;;
351351
edit|e)
352352
comment_for_reflog edit

0 commit comments

Comments
 (0)