Skip to content

Commit a5c2d26

Browse files
Petr BaudisJunio C Hamano
authored andcommitted
Documentation: git-rev-list's "patterns"
git-rev-list(1) talks about patterns as values for the --grep, --committed etc. parameters, without going into detail. This patch mentions that these patterns are actually regexps. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 164b198 commit a5c2d26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-rev-list.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,12 @@ limiting may be applied.
193193
--author='pattern', --committer='pattern'::
194194

195195
Limit the commits output to ones with author/committer
196-
header lines that match the specified pattern.
196+
header lines that match the specified pattern (regular expression).
197197

198198
--grep='pattern'::
199199

200200
Limit the commits output to ones with log message that
201-
matches the specified pattern.
201+
matches the specified pattern (regular expression).
202202

203203
--remove-empty::
204204

0 commit comments

Comments
 (0)