From: Junio C Hamano Date: Wed, 05 Oct 2005 23:16:01 GMT Subject: Re: Confused as to the correct syntax Message-ID: <7v7jcrh7wu.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <200510052350.07217.alan@chandlerfamily.org.uk> Alan Chandler writes: > "A suffix ~ to a revision parameter means the 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^ which is equivalent to > rev11^1." > > Why is rev~3 equivalent to rev^, surely it is equivalent to rev^^^ > > Why is rev~3 equivalent to rev11^1, should that not be rev^1^1^1 Sorry, for not knowing how to do that properly in Asciidoc ;-). The source to the man page and HTML page reads like this: * A suffix '~' to a revision parameter means the 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^^^ which is equivalent to rev^1^1^1.