On Wed, Jan 27, 2010 at 5:09 PM, Johannes Sixt <j6t@xxxxxxxx> wrote: > On Mittwoch, 27. Januar 2010, Michael Spang wrote: > > So when you have this history (A is oldest, D is newest): > > A--B--C--D > > and you say > > git log --max-count=2 --reverse D > > then you want > > A > B > > but I want > > C > D > > Why is your interpretation correct, an mine wrong? Perhaps not wrong, but for me it was unexpected. For whatever reason, I expected "--reverse" to give you the illusion that you are iterating from the beginning of the history, even if it's not actually possible to iterate that way directly. In line with that, limiting the output to N commits would give you the earliest N commits. If you instead think "stop descending through the history once we have N commits" the current behavior makes sense. I talked to Junio and he says the current behavior is here to stay. Michael -- 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