git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sverre Rabbelier <srabbelier@gmail.com>
To: Johannes Sixt <j6t@kdbg.org>
Cc: Michael Spang <spang@google.com>,
	git@vger.kernel.org, "Junio C. Hamano" <gitster@pobox.com>
Subject: Re: [PATCH] Fix git rev-list --reverse --max-count=N
Date: Wed, 27 Jan 2010 23:17:11 +0100	[thread overview]
Message-ID: <fabb9a1e1001271417w1c26fffdy379f8b845e4098b1@mail.gmail.com> (raw)
In-Reply-To: <201001272309.26054.j6t@kdbg.org>

Heya,

> 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
>

And the current behavior is

B
A

Isn't it? I agree btw, that C D is the 'correct' result.

-- 
Cheers,

Sverre Rabbelier

  reply	other threads:[~2010-01-27 22:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-27 20:03 [PATCH] Fix git rev-list --reverse --max-count=N Michael Spang
2010-01-27 22:09 ` Johannes Sixt
2010-01-27 22:17   ` Sverre Rabbelier [this message]
2010-01-27 22:21   ` Michael Spang
2010-01-27 22:28   ` Junio C Hamano
2010-01-27 22:51     ` Michael Spang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fabb9a1e1001271417w1c26fffdy379f8b845e4098b1@mail.gmail.com \
    --to=srabbelier@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=j6t@kdbg.org \
    --cc=spang@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).