]> git.ipfire.org Git - thirdparty/git.git/commit - t/t4013/diff.log_-m_-p_master
Merge branch 'so/log-diff-merges-opt'
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Aug 2020 00:02:49 +0000 (17:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Aug 2020 00:02:50 +0000 (17:02 -0700)
commita555b514cd47f59b43f571eaff6b8cd7c01f0d11
tree1e73f9b75a386aed0efaf103786e2d1d639d0284
parenteca8c62a50e033ce6a4f4e065bb507ca3d98e75c
parent298889d3e2053cf903b01fbac902cbfb210109ea
Merge branch 'so/log-diff-merges-opt'

Earlier, to countermand the implicit "-m" option when the
"--first-parent" option is used with "git log", we added the
"--[no-]diff-merges" option in the jk/log-fp-implies-m topic.  To
leave the door open to allow the "--diff-merges" option to take
values that instructs how patches for merge commits should be
computed (e.g. "cc"? "-p against first parent?"), redefine
"--diff-merges" to take non-optional value, and implement "off"
that means the same thing as "--no-diff-merges".

* so/log-diff-merges-opt:
  t/t4013: add test for --diff-merges=off
  doc/git-log: describe --diff-merges=off
  revision: change "--diff-merges" option to require parameter
Documentation/git-log.txt
revision.c
t/t4013-diff-various.sh
t/t4013/diff.log_--diff-merges=off_-p_--first-parent_master
t/t4013/diff.log_--first-parent_--diff-merges=off_-p_master