diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-01-18 06:24:10 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-01-18 06:24:10 +0000 |
commit | 2d47c62a3df350dff294aba379e2a5430fd130d1 (patch) | |
tree | 284b5792530e80bf61afb93bd80099eb9247ed02 /git-rev-parse.txt | |
parent | e58607f49ae156d2e441edd280f99219614f52a8 (diff) | |
download | git-htmldocs-2d47c62a3df350dff294aba379e2a5430fd130d1.tar.gz |
Autogenerated HTML docs for v1.5.0-rc1-gdf1b
Diffstat (limited to 'git-rev-parse.txt')
-rw-r--r-- | git-rev-parse.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/git-rev-parse.txt b/git-rev-parse.txt index 4eaf5a0d1..aeb37b65d 100644 --- a/git-rev-parse.txt +++ b/git-rev-parse.txt @@ -152,6 +152,14 @@ blobs contained in a commit. used immediately following a ref name and the ref must have an existing log ($GIT_DIR/logs/<ref>). +* A ref followed by the suffix '@' with an ordinal specification + enclosed in a brace pair (e.g. '\{1\}', '\{15\}') to specify + the n-th prior value of that ref. For example 'master@\{1\}' + is the immediate prior value of 'master' while 'master@\{5\}' + is the 5th prior value of 'master'. This suffix may only be used + immediately following a ref name and the ref must have an existing + log ($GIT_DIR/logs/<ref>). + * A suffix '{caret}' to a revision parameter means the first parent of that commit object. '{caret}<n>' means the <n>th parent (i.e. 'rev{caret}' |