aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-rev-list.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-17 17:23:20 -0700
committerJunio C Hamano <junkio@cox.net>2006-09-20 11:14:39 -0700
commitbd95fcd34543d7d98bff033c00054341165bc9ce (patch)
tree0fa7058f054dff5055e16233373c451749b4e61a /Documentation/git-rev-list.txt
parent8ecae9b032cd0427079d557a3bb6c39116420d4b (diff)
downloadgit-bd95fcd34543d7d98bff033c00054341165bc9ce.tar.gz
git-bd95fcd34543d7d98bff033c00054341165bc9ce.tar.xz
revision traversal: --author, --committer, and --grep.
This adds three options to setup_revisions(), which lets you filter resulting commits by the author name, the committer name and the log message with regexp. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-rev-list.txt')
-rw-r--r--Documentation/git-rev-list.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/git-rev-list.txt b/Documentation/git-rev-list.txt
index 28966adbb..00a95e249 100644
--- a/Documentation/git-rev-list.txt
+++ b/Documentation/git-rev-list.txt
@@ -20,6 +20,7 @@ SYNOPSIS
[ \--stdin ]
[ \--topo-order ]
[ \--parents ]
+ [ \--(author|committer|grep)=<pattern> ]
[ [\--objects | \--objects-edge] [ \--unpacked ] ]
[ \--pretty | \--header ]
[ \--bisect ]
@@ -154,6 +155,16 @@ limiting may be applied.
Limit the commits output to specified time range.
+--author='pattern', --committer='pattern'::
+
+ Limit the commits output to ones with author/committer
+ header lines that match the specified pattern.
+
+--grep='pattern'::
+
+ Limit the commits output to ones with log message that
+ matches the specified pattern.
+
--remove-empty::
Stop when a given path disappears from the tree.