]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/revisions.txt
sha1-name.c: for ":/", find detached HEAD commits
[thirdparty/git.git] / Documentation / revisions.txt
index dfcc49c72c0fe8f90c5e66d8de30d7ad27582c2b..0845c3f590c646502114482526c171182e63da90 100644 (file)
@@ -180,7 +180,8 @@ existing tag object.
   A colon, followed by a slash, followed by a text, names
   a commit whose commit message matches the specified regular expression.
   This name returns the youngest matching commit which is
-  reachable from any ref. The regular expression can match any part of the
+  reachable from any ref, including HEAD.
+  The regular expression can match any part of the
   commit message. To match messages starting with a string, one can use
   e.g. ':/^foo'. The special sequence ':/!' is reserved for modifiers to what
   is matched. ':/!-foo' performs a negative match, while ':/!!foo' matches a