Skip to content

Commit 2657420

Browse files
szedergitster
authored andcommitted
Document 'git (rev-list|log) --merges'
Signed-off-by: SZEDER Gábor <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 69fb828 commit 2657420

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Documentation/git-rev-list.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ SYNOPSIS
1414
[ \--max-age=timestamp ]
1515
[ \--min-age=timestamp ]
1616
[ \--sparse ]
17+
[ \--merges ]
1718
[ \--no-merges ]
1819
[ \--first-parent ]
1920
[ \--remove-empty ]

Documentation/rev-list-options.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ endif::git-rev-list[]
201201

202202
Stop when a given path disappears from the tree.
203203

204+
--merges::
205+
206+
Print only merge commits.
207+
204208
--no-merges::
205209

206210
Do not print commits with more than one parent.

0 commit comments

Comments
 (0)