]> git.ipfire.org Git - thirdparty/git.git/commit - revision.h
diff-merges: split 'ignore_merges' field
authorSergey Organov <sorganov@gmail.com>
Mon, 21 Dec 2020 15:19:46 +0000 (18:19 +0300)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Dec 2020 21:47:31 +0000 (13:47 -0800)
commit1a2c4d80501c50fbe96cc0be096273703a5c0d16
tree51d730f3d84d0c21960f28a3dfeaa41597d88cac
parent6fc944d8956bf75bf2e52a871c02b71b4f9dfcba
diff-merges: split 'ignore_merges' field

'ignore_merges' was 3-way field that served two distinct purposes that
we now assign to 2 new independent flags: 'separate_merges', and
'explicit_diff_merges'.

'separate_merges' tells that we need to output diff format containing
separate diff for every parent (as opposed to 'combine_merges').

'explicit_diff_merges' tells that at least one of diff-merges options
has been explicitly specified on the command line, so no defaults
should apply.

Signed-off-by: Sergey Organov <sorganov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff-merges.c
log-tree.c
revision.h