Why does "git log --reverse -1" print the HEAD commit?
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- May 31, 2008, 14:11 UTC
- Message-ID
- <20080531141102.GA3035@mithlond.arda.local>
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.