All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Linus Torvalds <torvalds@osdl.org>
Cc: git@vger.kernel.org
Subject: Re: git diff: support "-U" and "--unified" options properly
Date: Sun, 14 May 2006 18:51:28 -0700	[thread overview]
Message-ID: <7v4pzsys0v.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0605141745410.3866@g5.osdl.org> (Linus Torvalds's message of "Sun, 14 May 2006 17:58:39 -0700 (PDT)")

Linus Torvalds <torvalds@osdl.org> writes:

> On Sun, 14 May 2006, Junio C Hamano wrote:
>> 
>> I am not either after seeing your numbers and trying them
>> myself.  I was going to look at it myself over the weekend, but
>> I ended up spending most of the time migrating my environment,
>> so no progress on that front yet.  Sorry.
>
> I was looking at it, and I just suspect that "grep" is very optimized.
>
> At the same time, the built-in one had many good features, notably that 
> you could grep the cached copy and from a specific version. So I think it 
> makes sense.
> 
> ... Except for testing, and fixing my stupid bugs, which 
> I'm too lazy to do.

The command line flags needs to be
unparsed before feeding the external grep.

> The whole "exec_grep()" should basically be the same as "spawn_prog()". 
> You get the idea.
>
> Anybody?

I think somebody wanted to have his own funky grep spawned off
from his PATH, so I'd leave that to him (or her I do not
remember which) ;-).

  reply	other threads:[~2006-05-15  1:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-13 20:23 git diff: support "-U" and "--unified" options properly Linus Torvalds
2006-05-13 20:30 ` Junio C Hamano
2006-05-13 20:59 ` Junio C Hamano
2006-05-13 21:05   ` Linus Torvalds
2006-05-13 21:22     ` Junio C Hamano
2006-05-13 22:39       ` Linus Torvalds
2006-05-15  0:39         ` Junio C Hamano
2006-05-15  0:58           ` Linus Torvalds
2006-05-15  1:51             ` Junio C Hamano [this message]
2006-05-15  3:49             ` Linus Torvalds
2006-05-14  7:00       ` Martin Langhoff
2006-05-14 12:57       ` Josef Weidendorfer
2006-05-14 17:36         ` Junio C Hamano
2006-05-14 20:49           ` Branch relationships (was:Re: git diff: support "-U" and "--unified" options properly) Josef Weidendorfer
2006-05-14 21:20             ` Branch relationships Junio C Hamano
2006-05-14 22:01               ` Josef Weidendorfer
2006-05-14 22:19                 ` Junio C Hamano
2006-05-14 23:04                   ` Josef Weidendorfer
2006-05-14 23:55                     ` Junio C Hamano
2006-05-15  1:48                       ` Josef Weidendorfer
2006-05-15  2:11                         ` Junio C Hamano

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=7v4pzsys0v.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /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.