From: Andrew Wong Date: Wed, 30 Nov 2011 15:52:51 +0000 (-0500) Subject: rebase -i: interrupt rebase when "commit --amend" failed during "reword" X-Git-Tag: v1.7.8.2~20^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/0becb3e4b94f19358f66ec2f4bbbf89904251bf5?hp=0becb3e4b94f19358f66ec2f4bbbf89904251bf5 rebase -i: interrupt rebase when "commit --amend" failed during "reword" "commit --amend" could fail in cases like the user empties the commit message, or pre-commit failed. When it fails, rebase should be interrupted and alert the user, rather than ignoring the error and continue on rebasing. This also gives users a way to gracefully interrupt a "reword" if they decided they actually want to do an "edit", or even "rebase --abort". Signed-off-by: Andrew Wong Signed-off-by: Junio C Hamano ---