login
Header Space

 
 

[PATCH 6/3], was Re: [PATCH 5/3], was Re: [PATCH 4/3] provide a nice @{...} syntax to always mean the current branch reflog

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nicolas Pitre <nico@...>
Cc: Junio C Hamano <junkio@...>, Matthias Lederhofer <matled@...>, <git@...>
Date: Thursday, February 1, 2007 - 7:21 pm

Update the documentation for the new '@{...}' syntax

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>

---

 Documentation/git-rev-parse.txt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index aeb37b6..4041a16 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/<ref>).
 
+* 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}<n>' means the <n>th parent (i.e.
   'rev{caret}'
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/3] prevent HEAD reflog to be interpreted as cur..., Simon 'corecode' Schubert..., (Thu Feb 1, 5:29 pm)
Re: [PATCH 3/3] prevent HEAD reflog to be interpreted as cur..., Matthias Lederhofer, (Thu Feb 1, 6:17 pm)
[PATCH 5/3], was Re: [PATCH 4/3] provide a nice @{...} synta..., Johannes Schindelin, (Thu Feb 1, 7:07 pm)
[PATCH 6/3], was Re: [PATCH 5/3], was Re: [PATCH 4/3] provid..., Johannes Schindelin, (Thu Feb 1, 7:21 pm)
speck-geostationary