From: Sverre Rabbelier Date: Sun, 16 Nov 2008 01:27:51 GMT Subject: Re: git rev-list ordering Message-ID: In-Reply-To: On Sun, Nov 16, 2008 at 01:44, Ian Hilt wrote: > Why is it that this command, > > git rev-list --reverse --max-count=1 > > results in the same SHA1 as, > > git rev-list --max-count=1 > > So far, the documentation and the mailing list archives haven't helped. The --reverse is applied after the --max-count, so you are seeing the reverse of one commit ;). For comparison, have a look at: $ git rev-list --reverse --max-count=2 -- Cheers, Sverre Rabbelier