sequencer: support amending commits
commit9240beda621dc0b4eec66f5ad9a8258c0f614e4c
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 21 Oct 2016 12:25:17 +0000 (21 14:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Oct 2016 16:32:34 +0000 (21 09:32 -0700)
tree62e1a92488767ed84aeb8fe30fd44082619b0d95
parenta1c757623cb94b2a38569a3de77e69ae521091ed
sequencer: support amending commits

This teaches the run_git_commit() function to take an argument that will
allow us to implement "todo" commands that need to amend the commit
messages ("fixup", "squash" and "reword").

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c