diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-08-11 12:36:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-11 12:36:18 -0700 |
commit | 4c90d8908ac0c7ec9cd8d2caee7a1a0394636612 (patch) | |
tree | f2e35ad1607e81d578c6ffe9798b7129c1579f05 /Documentation/diff-options.txt | |
parent | 7cfaa86fe6f61698752d13c59ac97a102d1fbaae (diff) | |
parent | 6a38e33331560c3e84123c567f95de72d1cfa506 (diff) | |
download | git-4c90d8908ac0c7ec9cd8d2caee7a1a0394636612.tar.gz |
Merge branch 'jn/log-m-does-not-imply-p'
Earlier "git log -m" was changed to always produce patch output,
which would break existing scripts, which has been reverted.
* jn/log-m-does-not-imply-p:
Revert 'diff-merges: let "-m" imply "-p"'
Diffstat (limited to 'Documentation/diff-options.txt')
-rw-r--r-- | Documentation/diff-options.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index 0aebe83205..c89d530d3d 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -49,9 +49,10 @@ ifdef::git-log[] --diff-merges=m::: -m::: This option makes diff output for merge commits to be shown in - the default format. The default format could be changed using + the default format. `-m` will produce the output only if `-p` + is given as well. The default format could be changed using `log.diffMerges` configuration parameter, which default value - is `separate`. `-m` implies `-p`. + is `separate`. + --diff-merges=first-parent::: --diff-merges=1::: @@ -61,8 +62,7 @@ ifdef::git-log[] --diff-merges=separate::: This makes merge commits show the full diff with respect to each of the parents. Separate log entry and diff is generated - for each parent. This is the format that `-m` produced - historically. + for each parent. + --diff-merges=combined::: --diff-merges=c::: |