]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.c
sequencer: always commit without editing when asked for
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 27 Apr 2018 20:48:28 +0000 (22:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 May 2018 22:47:47 +0000 (07:47 +0900)
commitdc4b5bc3534bf4d8f362173d905d294048c48f79
tree3c14aca218525455bf72a68aa67add273f28c2a5
parente12a7ef5972423c822834f9c514a54e32ea99e65
sequencer: always commit without editing when asked for

Previously, we only called run_git_commit() without EDIT_MSG when we also
passed in a default message.

However, an upcoming caller will want to commit without EDIT_MSG and
*without* a default message: to clean up fixup/squash comments in HEAD's
commit message.

Let's prepare for that.

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