]> git.ipfire.org Git - thirdparty/git.git/commit
merge: add scissors line on merge conflict
authorDenton Liu <liu.denton@gmail.com>
Wed, 17 Apr 2019 10:23:28 +0000 (11:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Apr 2019 04:49:29 +0000 (13:49 +0900)
commit1055997e2fc707a15baf232df2ac481055c14321
tree4d32fd986b4c02811266f3db3d087858afcd4a53
parentd540b70c85ccd08507348785fd210ef8317a864d
merge: add scissors line on merge conflict

This fixes a bug where the scissors line is placed after the Conflicts:
section, in the case where a merge conflict occurs and
commit.cleanup = scissors.

Next, if commit.cleanup = scissors is specified, don't produce a
scissors line in commit if one already exists in the MERGE_MSG file.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/merge-options.txt
builtin/commit.c
builtin/merge.c
t/t7600-merge.sh