On Sat, May 31, 2008 at 05:11:02PM +0300, Teemu Likonen <tlikonen@xxxxxx> wrote: > It feels wrong that "git log -1" and "git log --reverse -1" both print > the same commit: HEAD. Why is that? > > Since "git log --reverse" starts from the bottom I'd have expected "-1" > to print one commit from the bottom. -1 limits the commit list to one element and then it prints that range in reverse order, which is the same for a single commit.
Attachment:
pgpzrFK04A8Jc.pgp
Description: PGP signature