summaryrefslogtreecommitdiffstats
path: root/revisions.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-09-28 05:51:23 +0000
committerJunio C Hamano <junio@kernel.org>2010-09-28 05:51:23 +0000
commit442206cbc570d6bc05423bd8a54db5f06d740c65 (patch)
treef64aa85c61bcdb071c4b29fc8d8bd7088ebd3063 /revisions.txt
parentac752fa22d8703ee06a9d217b438ced13d4eb41b (diff)
downloadgit-htmldocs-442206cbc570d6bc05423bd8a54db5f06d740c65.tar.gz
Autogenerated HTML docs for v1.7.3-15-g442cb
Diffstat (limited to 'revisions.txt')
-rw-r--r--revisions.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/revisions.txt b/revisions.txt
index fe846f043..3d4b79c48 100644
--- a/revisions.txt
+++ b/revisions.txt
@@ -107,11 +107,13 @@ the `$GIT_DIR/refs` directory or from the `$GIT_DIR/packed-refs` file.
found.
* A colon, followed by a slash, followed by a text (e.g. `:/fix nasty bug`): this names
- a commit whose commit message starts with the specified text.
+ a commit whose commit message matches the specified regular expression.
This name returns the youngest matching commit which is
reachable from any ref. If the commit message starts with a
'!', you have to repeat that; the special sequence ':/!',
followed by something else than '!' is reserved for now.
+ The regular expression can match any part of the commit message. To
+ match messages starting with a string, one can use e.g. `:/^foo`.
* A suffix ':' followed by a path (e.g. `HEAD:README`); this names the blob or tree
at the given path in the tree-ish object named by the part