summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Boyd <bebarino@gmail.com>2009-10-16 06:32:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-10-19 07:49:09 (GMT)
commit7725cb5e8bfd27887ee0b984b83708eff655ec9e (patch)
tree87a20697dd326f3f6d85ad47de3ca9594be82386
parent6741aa6c399dec3d8f0b25699a73b8fcf974d702 (diff)
downloadgit-7725cb5e8bfd27887ee0b984b83708eff655ec9e.zip
git-7725cb5e8bfd27887ee0b984b83708eff655ec9e.tar.gz
git-7725cb5e8bfd27887ee0b984b83708eff655ec9e.tar.bz2
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 <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xgit-rebase--interactive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
index a43ee22..a1879e3 100755
--- a/git-rebase--interactive.sh
+++ b/git-rebase--interactive.sh
@@ -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