Skip to content

Commit 15fad5f

Browse files
author
Junio C Hamano
committed
whatchanged: document -m option from git-diff-tree.
The documentation for git-whatchanged is meant to describe only the most frequently used options from git-diff-tree. Because "why doesn't it show merges" was asked more than once, we'd better describe '-m' option there. Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 5990efb commit 15fad5f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/git-whatchanged.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ OPTIONS
4444
<format> can be one of 'raw', 'medium', 'short', 'full',
4545
and 'oneline'.
4646

47+
-m::
48+
By default, differences for merge commits are not shown.
49+
With this flag, show differences to that commit from all
50+
of its parents.
51+
52+
However, it is not very useful in general, although it
53+
*is* useful on a file-by-file basis.
4754

4855
Author
4956
------

0 commit comments

Comments
 (0)