From: Sergei Organov Date: Fri, 14 Mar 2008 17:20:06 GMT Subject: [PATCH] git-rev-parse.txt: clarify meaning of rev~ and rev~0. Message-ID: <87wso5mcs7.fsf@osv.gnss.ru> Signed-off-by: Sergei Organov --- Documentation/git-rev-parse.txt | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt index 6513c2e..0234f89 100644 --- a/Documentation/git-rev-parse.txt +++ b/Documentation/git-rev-parse.txt @@ -200,8 +200,9 @@ blobs contained in a commit. object that is the th generation grand-parent of the named commit object, following only the first parent. I.e. rev~3 is equivalent to rev{caret}{caret}{caret} which is equivalent to - rev{caret}1{caret}1{caret}1. See below for a illustration of - the usage of this form. + rev{caret}1{caret}1{caret}1. See below for an illustration of + the usage of this form. 'rev{tilde}' is equivalent to 'rev{tilde}0' + which in turn is equivalent to 'rev'. * A suffix '{caret}' followed by an object type name enclosed in brace pair (e.g. `v0.99.8{caret}\{commit\}`) means the object -- 1.5.4.4.551.g1658c