From: Junio C Hamano Date: Sat, 11 Oct 2008 21:36:55 GMT Subject: Re: [PATCH] "git diff {3,}": do not reverse order of arguments Message-ID: <7vtzbiizk8.fsf@gitster.siamese.dyndns.org> In-Reply-To: <237967ef0810110553r662df370ud1ec34de402bfe1c@mail.gmail.com> "Mikael Magnusson" writes: > 2008/10/11 Junio C Hamano : >> Perhaps the thinko was caused by discrepancy between the way internal >> revision parser handles A..B and the way git-rev-parse parses it. While >> the internal revision parser parses it into "A ^B", rev-parse gives them >> in reverse order, i.e. "B ^A" (which is not going to change). In any >> case, thanks for spotting this. > > Ehm, do you mean the internal parses it into "A ^B" and rev-parse gives "^B A"? Sorry; a typo is in my description on the result from the internal parser. For A..B, rev-parse gives B^ then A, and internal gives ^A in ent[0] and B in ent[1].