diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-10-21 14:25:28 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-10-21 09:32:34 -0700 |
| commit | 0009426d6721a0356d41811aa34b4ac7f278a76e (patch) | |
| tree | 5cd8229a0d4ad1a60a04a5bbc5938eccd29c4cc0 /builtin/commit.c | |
| parent | sequencer: support amending commits (diff) | |
| download | git-0009426d6721a0356d41811aa34b4ac7f278a76e.tar.gz git-0009426d6721a0356d41811aa34b4ac7f278a76e.zip | |
sequencer: support cleaning up commit messages
The run_git_commit() function already knows how to amend commits, and
with this new option, it can also clean up commit messages (i.e. strip
out commented lines). This is needed to implement rebase -i's 'fixup'
and 'squash' commands as sequencer commands.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
