diff options
author | Sergey Organov <sorganov@gmail.com> | 2022-12-17 16:29:51 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-12-18 11:43:50 +0900 |
commit | 08f55ec7b20b888a668fabbad4147f67a209ded7 (patch) | |
tree | d0a51bb13460e4271ceafaf079d5a53a5dfdeae0 /Documentation/config/web.txt | |
parent | c000d916380bb59db69c78546928eadd076b9c7d (diff) | |
download | git-08f55ec7b20b888a668fabbad4147f67a209ded7.tar.gz |
diff-merges: implement [no-]hide option and log.diffMergesHide config
The set of diff-merges options happened to be incomplete, and failed
to implement exact semantics of -m option that hides output of diffs
for merge commits unless -p option is active as well.
The new "hide" option fixes this issue, so that now
--diff-merges=on --diff-merges=hide
combo is the exact synonym for -m.
The log.diffMerges configuration also accepts "hide" and "no-hide"
values, and governs the default value for the hide bit. The
configuration behaves as if "--diff-merges=[no-]hide" is inserted
first in the command-line.
New log.diffMergesHide boolean configuration is implemented as well,
for the case when log.diffMerges is already in use for specifying the
format.
Signed-off-by: Sergey Organov <sorganov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/web.txt')
0 files changed, 0 insertions, 0 deletions