summaryrefslogtreecommitdiffstats
path: root/git-rev-parse.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-07-22 12:39:51 -0700
committerJunio C Hamano <gitster@pobox.com>2014-07-22 12:39:51 -0700
commitdbe510515297d8d56e909741183ce54b1c4bcb58 (patch)
tree088578904e3064076890e519696abfbb1da5c174 /git-rev-parse.txt
parent6f0c94493349d73a72712d42830dd811d99dcd1a (diff)
downloadgit-htmldocs-dbe510515297d8d56e909741183ce54b1c4bcb58.tar.gz
Autogenerated HTML docs for v2.0.2-731-g247b4
Diffstat (limited to 'git-rev-parse.txt')
-rw-r--r--git-rev-parse.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rev-parse.txt b/git-rev-parse.txt
index 9bd76a5a6..0b84769bd 100644
--- a/git-rev-parse.txt
+++ b/git-rev-parse.txt
@@ -102,7 +102,7 @@ eval "set -- $(git rev-parse --sq --prefix "$prefix" "$@")"
+
If you want to make sure that the output actually names an object in
your object database and/or can be used as a specific type of object
-you require, you can add "^{type}" peeling operator to the parameter.
+you require, you can add "\^{type}" peeling operator to the parameter.
For example, `git rev-parse "$VAR^{commit}"` will make sure `$VAR`
names an existing object that is a commit-ish (i.e. a commit, or an
annotated tag that points at a commit). To make sure that `$VAR`