Code

Documentation: do not assume that n > 1 in <rev>~$n
authorJunio C Hamano <gitster@pobox.com>
Wed, 29 Feb 2012 19:13:22 +0000 (11:13 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Mar 2012 17:33:29 +0000 (09:33 -0800)
commit70eb130768d17c33b9efbf60d7953cf6a57daecb
tree86a3ed637e235a66004258cffc0d8166f1c9bf7c
parente0a4aae865862549c5f2a65016d4d264843e7914
Documentation: do not assume that n > 1 in <rev>~$n

We explained <rev>~<n> as <n>th generation grand-parent, but a reader got
confused by the "grand-" part when <n> 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 <luke@diamand.org>
Helped-by: Thomas Rast <trast@inf.ethz.ch>
Helped-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/revisions.txt