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

[PATCH] git-rev-list: add documentation for --parents, --no-merges

From
MLMatthias Lederhofer <matled@gmx.net>
Date
Jul 10, 2006, 17:57 UTC
Message-ID
<E1G000X-0004om-A0@moooo.ath.cx>
In-Reply-To
<20060710192622.70c51a81.diegocg@gmail.com>
---
Btw: grep -E ' .* ' should work too.
 Documentation/git-rev-list.txt |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-rev-list.txt b/Documentation/git-rev-list.txt
index e220842..f60eacd 100644
--- a/Documentation/git-rev-list.txt
+++ b/Documentation/git-rev-list.txt
@@ -56,6 +56,9 @@ OPTIONS
 	Print the contents of the commit in raw-format; each
 	record is separated with a NUL character.
 
+--parents::
+	Print the parents of the commit.
+
 --objects::
 	Print the object IDs of any object referenced by the listed commits.
 	'git-rev-list --objects foo ^bar' thus means "send me all object IDs
@@ -102,6 +105,9 @@ OPTIONS
 --remove-empty::
 	Stop when a given path disappears from the tree.
 
+--no-merges::
+	Do not print commits with more than one parent.
+
 --not::
 	Reverses the meaning of the '{caret}' prefix (or lack
 	thereof) for all following revision specifiers, up to
-- 
1.4.1.gf157-dirty
Previous: Johannes Schindelin
Message 6 of 6 in “can I get only the list of merges?”
  1. Diego CallejaJul 10, 2006
  2. Matthias LederhoferJul 10, 2006
  3. Linus TorvaldsJul 10, 2006
  4. Linus TorvaldsJul 10, 2006
  5. Johannes SchindelinJul 10, 2006
  6. git-rev-list: add documentation for --parents, --no-mergesMatthias Lederhofer, Jul 10, 2006

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.