]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/revisions.txt
git-tag.txt: list all modes in the description
[thirdparty/git.git] / Documentation / revisions.txt
index 8b519d74487ce1089462df8556e76d1829fb82d4..9e92734bc1b308c47e5f5726c704a3ddffa5beb9 100644 (file)
@@ -106,6 +106,12 @@ the `$GIT_DIR/refs` directory or from the `$GIT_DIR/packed-refs` file.
   and dereference the tag recursively until a non-tag object is
   found.
 
+* A suffix '{caret}' to a revision parameter followed by a brace
+  pair that contains a text led by a slash (e.g. `HEAD^{/fix nasty bug}`):
+  this is the same as `:/fix nasty bug` syntax below except that
+  it returns the youngest matching commit which is reachable from
+  the ref before '{caret}'.
+
 * A colon, followed by a slash, followed by a text (e.g. `:/fix nasty bug`): this names
   a commit whose commit message matches the specified regular expression.
   This name returns the youngest matching commit which is