git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] Document 'git (rev-list|log) --merges'

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Jul 13, 2009, 15:11 UTC
Message-ID
<0f4a962e946f68ec0d7a4c2e568fb3e5ae2a10bc.1247497864.git.szeder@ira.uka.de>
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
 Documentation/git-rev-list.txt     |    1 +
 Documentation/rev-list-options.txt |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-rev-list.txt b/Documentation/git-rev-list.txt
index 1c9cc28..a765cfa 100644
--- a/Documentation/git-rev-list.txt
+++ b/Documentation/git-rev-list.txt
@@ -14,6 +14,7 @@ SYNOPSIS
 	     [ \--max-age=timestamp ]
 	     [ \--min-age=timestamp ]
 	     [ \--sparse ]
+	     [ \--merges ]
 	     [ \--no-merges ]
 	     [ \--first-parent ]
 	     [ \--remove-empty ]
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 11eec94..bf66116 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -201,6 +201,10 @@ endif::git-rev-list[]
 
 	Stop when a given path disappears from the tree.
 
+--merges::
+
+	Print only merge commits.
+
 --no-merges::
 
 	Do not print commits with more than one parent.
-- 
1.6.4.rc0.78.g75597
Next: SZEDER Gábor
Message 1 of 2 in “Document 'git (rev-list|log) --merges'”
  1. 1/2 Document 'git (rev-list|log) --merges'SZEDER Gábor, Jul 13, 2009
  2. 2/2 bash: add '--merges' to common 'git log' optionsSZEDER Gábor, Jul 13, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.