From: Johannes Schindelin Date: Thu, 1 Feb 2007 23:21:49 +0000 (+0100) Subject: Update the documentation for the new '@{...}' syntax X-Git-Tag: v1.5.0-rc4~83 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1e5db3075ae1f22cbffc273321e94b60d5f23927;p=git.git Update the documentation for the new '@{...}' syntax Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt index aeb37b65d..4041a1607 100644 --- a/Documentation/git-rev-parse.txt +++ b/Documentation/git-rev-parse.txt @@ -160,6 +160,10 @@ blobs contained in a commit. immediately following a ref name and the ref must have an existing log ($GIT_DIR/logs/). +* You can use the '@' construct with an empty ref part to get at a + reflog of the current branch. For example, if you are on the + branch 'blabla', then '@\{1\}' means the same as 'blabla@\{1\}'. + * A suffix '{caret}' to a revision parameter means the first parent of that commit object. '{caret}' means the th parent (i.e. 'rev{caret}'