From: Jeff King <peff@peff.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: Thomas Rast <trast@student.ethz.ch>,
git@vger.kernel.org, Sebastian Hahn <mail@sebastianhahn.net>
Subject: Re: gitk "find commit adding/removing string"/possible pickaxe bug?
Date: Tue, 18 Jan 2011 16:33:09 -0500 [thread overview]
Message-ID: <20110118213309.GA933@sigill.intra.peff.net> (raw)
In-Reply-To: <7vsjwpkio8.fsf@alter.siamese.dyndns.org>
On Tue, Jan 18, 2011 at 01:26:15PM -0800, Junio C Hamano wrote:
> Honestly, my guess is that the interaction of -S with a merge commit is
> "whatever the code happens to do", as I didn't think nor design how they
> should interact with each other when I wrote -c/--cc nor when I wrote -S.
That's kind of what I figured.
> Having said that, I tend to agree with your latter expectation ("what I
> want").
I'll take a look and see how painful it will be to do that. I'm not even
sure how the merge filepairs are represented by the diff code (since
they are not even pairs, but rather one child with many parents).
> By the way, you guys should really not be looking at the disused
> plumbing-helper -S but instead be advocating its newer and more human
> friendly cousin -G. 1.7.4 is coming ;-).
It's _way_ slower for simple things:
$ time git log -Sfoo >/dev/null
real 0m11.550s
user 0m11.409s
sys 0m0.116s
$ time git log -Gfoo >/dev/null
real 0m25.722s
user 0m25.442s
sys 0m0.220s
I for one really like the -S behavior, anyway, but I expect I am in the
minority.
-Peff
next prev parent reply other threads:[~2011-01-18 21:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-18 16:16 gitk "find commit adding/removing string"/possible pickaxe bug? Sebastian Hahn
2011-01-18 16:44 ` Thomas Rast
2011-01-18 18:39 ` Junio C Hamano
2011-01-18 18:50 ` Jeff King
2011-01-18 20:39 ` Thomas Rast
2011-01-18 20:50 ` Jeff King
2011-01-18 21:26 ` Junio C Hamano
2011-01-18 21:33 ` Jeff King [this message]
2011-01-31 20:00 ` Jeff King
2011-01-18 21:16 ` Thomas Rast
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=20110118213309.GA933@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=mail@sebastianhahn.net \
--cc=trast@student.ethz.ch \
/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).