Code

rebase -i: fix reword when using a terminal editor
authorStephen Boyd <bebarino@gmail.com>
Fri, 16 Oct 2009 06:32:33 +0000 (23:32 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Oct 2009 07:49:09 +0000 (00:49 -0700)
commit7725cb5e8bfd27887ee0b984b83708eff655ec9e
tree87a20697dd326f3f6d85ad47de3ca9594be82386
parent6741aa6c399dec3d8f0b25699a73b8fcf974d702
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>
git-rebase--interactive.sh