From: Junio C Hamano Date: Wed, 29 Feb 2012 19:13:22 +0000 (-0800) Subject: Documentation: do not assume that n > 1 in ~$n X-Git-Tag: v1.7.9.3~16 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=70eb130768d17c33b9efbf60d7953cf6a57daecb;p=git.git Documentation: do not assume that n > 1 in ~$n We explained ~ as th generation grand-parent, but a reader got confused by the "grand-" part when is 1. Reword it with "ancestor"; with the "generation" and "following only the first parents" around there, what we try to describe should be clear enough now. Noticed-by: Luke Diamand Helped-by: Thomas Rast Helped-by: Andreas Ericsson Signed-off-by: Junio C Hamano --- diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt index b290b617d..172566183 100644 --- a/Documentation/revisions.txt +++ b/Documentation/revisions.txt @@ -101,7 +101,7 @@ the '$GIT_DIR/refs' directory or from the '$GIT_DIR/packed-refs' file. '{tilde}', e.g. 'master{tilde}3':: A suffix '{tilde}' to a revision parameter means the commit - object that is the th generation grand-parent of the named + object that is the th generation ancestor of the named commit object, following only the first parents. I.e. '{tilde}3' is equivalent to '{caret}{caret}{caret}' which is equivalent to '{caret}1{caret}1{caret}1'. See below for an illustration of