aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/revisions.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-03-17 00:11:11 -0700
committerJunio C Hamano <gitster@pobox.com>2013-03-17 00:11:11 -0700
commitbb79a827a2bd4987b6def75a534635d75478cf4d (patch)
tree404e17e248ecc23fbab685ff4151b08d0d411f82 /Documentation/revisions.txt
parent239222f587ed06f96d90dd71c66d80a2b1e3dc9f (diff)
parent47e329ef7c46de8ccdc8c4e40333579264a83c21 (diff)
downloadgit-bb79a827a2bd4987b6def75a534635d75478cf4d.tar.gz
Merge branch 'maint'
* maint: rev-parse: clarify documentation of $name@{upstream} syntax sha1_name: pass object name length to diagnose_invalid_sha1_path() Makefile: keep LIB_H entries together and sorted
Diffstat (limited to 'Documentation/revisions.txt')
-rw-r--r--Documentation/revisions.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt
index 678d1756a5..314e25da73 100644
--- a/Documentation/revisions.txt
+++ b/Documentation/revisions.txt
@@ -88,10 +88,10 @@ some output processing may assume ref names in UTF-8.
The construct '@\{-<n>\}' means the <n>th branch checked out
before the current one.
-'<refname>@\{upstream\}', e.g. 'master@\{upstream\}', '@\{u\}'::
- The suffix '@\{upstream\}' to a ref (short form '<refname>@\{u\}') refers to
- the branch the ref is set to build on top of. A missing ref defaults
- to the current branch.
+'<branchname>@\{upstream\}', e.g. 'master@\{upstream\}', '@\{u\}'::
+ The suffix '@\{upstream\}' to a branchname (short form '<branchname>@\{u\}')
+ refers to the branch that the branch specified by branchname is set to build on
+ top of. A missing branchname defaults to the current one.
'<rev>{caret}', e.g. 'HEAD{caret}, v1.5.1{caret}0'::
A suffix '{caret}' to a revision parameter means the first parent of