summaryrefslogtreecommitdiff
path: root/fast-import.c
diff options
context:
space:
mode:
authorAndrew Wong <andrew.kw.w@gmail.com>2011-11-30 10:52:51 -0500
committerJunio C Hamano <gitster@pobox.com>2011-11-30 11:30:53 -0800
commit0becb3e4b94f19358f66ec2f4bbbf89904251bf5 (patch)
tree649429598473654373c7d224ef6e3f106a3a23f0 /fast-import.c
parent1e501a7c47ad5ada53d3b1acfb9f131f76e969ec (diff)
downloadgit-0becb3e4b94f19358f66ec2f4bbbf89904251bf5.tar.gz
rebase -i: interrupt rebase when "commit --amend" failed during "reword"aw/rebase-i-stop-on-failure-to-amend
"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 <andrew.kw.w@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fast-import.c')
0 files changed, 0 insertions, 0 deletions