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

[PATCH] Add --author match to git-rev-list and git-rev-tree (Documentation)

From
Junio C Hamano <junkio@cox.net>
Date
May 14, 2005, 09:56 UTC
Message-ID
<7vpsvu2ksd.fsf@assigned-by-dhcp.cox.net>

This documents the --author match to the two commands. It also fixes git-rev-list documentation, which lacked descriptions for existing options.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---

Documentation/git-rev-list.txt | 16 +++++++++++++++- Documentation/git-rev-tree.txt | 5 ++++- 2 files changed, 19 insertions(+), 2 deletions(-)

--- a/Documentation/git-rev-list.txt
+++ b/Documentation/git-rev-list.txt
@@ -9,7 +9,7 @@
 
 SYNOPSIS
 --------
-'git-rev-list' <commit>
+'git-rev-list' [--author=author] [--max-count=count] [--max-age=unixtime] [--min-age=unixtime] <commit>
 
 DESCRIPTION
 -----------
@@ -18,6 +18,20 @@
 useful to produce human-readable log output.
 
 
+OPTIONS
+-------
+--author::
+	Limit the final output to commits made by the author.
+
+--max-count::
+	Stop after showing the specified number of commits.
+
+--max-age::
+	Stop before showing the commits older than specified time.
+
+--min-age::
+	Do not show the commits newer than specified time.
+
 Author
 ------
 Written by Linus Torvalds <torvalds@osdl.org>
--- a/Documentation/git-rev-tree.txt
+++ b/Documentation/git-rev-tree.txt
@@ -9,7 +9,7 @@
 
 SYNOPSIS
 --------
-'git-rev-tree' [--edges] [--cache <cache-file>] [^]<commit> [[^]<commit>]
+'git-rev-tree' [--author author] [--edges] [--cache <cache-file>] [^]<commit> [[^]<commit>]
 
 DESCRIPTION
 -----------
@@ -17,6 +17,9 @@
 
 OPTIONS
 -------
+--author::
+	Limit the final output to commits made by the author.
+
 --edges::
 	Show edges (ie places where the marking changes between parent
 	and child)
------------------------------------------------
Next: Junio C Hamano
Message 1 of 2 in “Add --author match to git-rev-list and git-rev-tree (Documentation)”
  1. Add --author match to git-rev-list and git-rev-tree (Documentation)Junio C Hamano, May 14, 2005
  2. Add --author and --committer match to rev-list and rev-tree.Junio C Hamano, May 15, 2005

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.