Why does "git log --reverse -1" print the HEAD commit?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux