git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why does "git log --reverse -1" print the HEAD commit?
@ 2008-05-31 14:11 Teemu Likonen
  2008-05-31 14:24 ` Miklos Vajna
  0 siblings, 1 reply; 3+ messages in thread
From: Teemu Likonen @ 2008-05-31 14:11 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-31 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-31 14:11 Why does "git log --reverse -1" print the HEAD commit? Teemu Likonen
2008-05-31 14:24 ` Miklos Vajna
2008-05-31 14:33   ` Teemu Likonen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).