[PATCH] Add --author match to git-rev-list and git-rev-tree (Documentation)
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:41:57
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 <redacted> --- 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) ------------------------------------------------