All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael J Gruber <git@drmicha.warpmail.net>
To: Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git cherry improvements suggestions
Date: Wed, 23 Mar 2011 14:33:48 +0100	[thread overview]
Message-ID: <4D89F6BC.2040902@drmicha.warpmail.net> (raw)
In-Reply-To: <AANLkTinXh_Y9ft5Pd5SxOEXvKNm3HLmsiut8WrvFZrdQ@mail.gmail.com>

Piotr Krukowiecki venit, vidit, dixit 23.03.2011 14:23:
> On Wed, Mar 23, 2011 at 11:46 AM, Michael J Gruber
> <git@drmicha.warpmail.net> wrote:
...
>> You will be a happy user of "git log --cherry A...B" instead of "git
>> cherry A B". It gives you all the log option (e.g. p for diff) that you
>> like and uses "=" rather than "-". It's currently in next and will be in
>> the next release.
> 
> I've tried it and indeed I'm happy! :)
> The "git log --cherry-mark --left-right A...B" is what I needed!
> 
> Just some stats:
> 
>    git log --cherry-mark --left-right --oneline --date-order branch...trunk
> 
> lists 1004 commits, takes about 20s and memory peaks to about 670MB
> twice during the run (I'm on linux with AMD Phenom II X4 945)
> 
> With limit it prints X last commits (the limiting seems to take place after all
> work, on the output list only).
> 
> branch..trunk is 551 commits, the other way is 453 commits.
> 710 commits are found to be "=", 98 "<", 196 ">".
> 
> Note, I'm not saying it's too slow, or that it's working incorrectly, I'm just
> giving real-life stats if anyone was interested.
> I suspect such checks won't be done frequently.

You don't need to say it's slow - I've said so already :(

http://permalink.gmane.org/gmane.comp.version-control.git/169725

But I hope we can remove some bottle-necks.

> So thanks for the great improvement!

You're welcome :)

Michael

  reply	other threads:[~2011-03-23 13:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-23  8:11 git cherry improvements suggestions Piotr Krukowiecki
2011-03-23 10:46 ` Michael J Gruber
2011-03-23 13:23   ` Piotr Krukowiecki
2011-03-23 13:33     ` Michael J Gruber [this message]
2011-03-23 14:43       ` Piotr Krukowiecki
2011-03-23 14:44         ` Michael J Gruber
2011-03-23 19:28           ` Piotr Krukowiecki
2011-03-24  7:40             ` Piotr Krukowiecki
2011-03-24  7:47               ` Michael J Gruber

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=4D89F6BC.2040902@drmicha.warpmail.net \
    --to=git@drmicha.warpmail.net \
    --cc=git@vger.kernel.org \
    --cc=piotr.krukowiecki@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.