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

[PATCH] Document git rev-list --first-parent

From
AKAvi Kivity <avi@qumranet.com>
Date
Dec 24, 2007, 08:20 UTC
Message-ID
<1198484450-16454-1-git-send-email-avi@qumranet.com>

Document git rev-list's --first-parent option. Documentation taken from git log.

Signed-off-by: Avi Kivity <avi@qumranet.com>
---
 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 a03f9fe..b049086 100644
--- a/Documentation/git-rev-list.txt
+++ b/Documentation/git-rev-list.txt
@@ -15,6 +15,7 @@ SYNOPSIS
 	     [ \--min-age=timestamp ]
 	     [ \--sparse ]
 	     [ \--no-merges ]
+	     [ \--first-parent ]
 	     [ \--remove-empty ]
 	     [ \--full-history ]
 	     [ \--not ]
@@ -256,6 +257,11 @@ limiting may be applied.
 
 	Do not print commits with more than one parent.
 
+--first-parent::
+	Follow only the first parent commit upon seeing a merge
+	commit.  This  option gives a better overview of the
+	evolution of a particular branch.
+
 --not::
 
 	Reverses the meaning of the '{caret}' prefix (or lack thereof)
-- 
1.5.3.7
Next: Junio C Hamano
Message 1 of 9 in “Document git rev-list --first-parent”
  1. Document git rev-list --first-parentAvi Kivity, Dec 24, 2007
  2. Junio C HamanoDec 24, 2007
  3. Avi KivityDec 24, 2007
  4. Junio C HamanoDec 24, 2007
  5. Avi KivityDec 24, 2007
  6. Junio C HamanoDec 24, 2007
  7. Avi KivityDec 24, 2007
  8. Avi KivityDec 24, 2007
  9. Junio C HamanoDec 25, 2007

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.