Re: [PATCH] built-in "git grep" (git grip).
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- May 1, 2006, 07:12 UTC
- Message-ID
- <e34cb4$is1$1@sea.gmane.org>
- In-Reply-To
- <7vhd4as00i.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Jakub Narebski <jnareb@gmail.com> writes:
> Wouldn't "git ggrep" (from git-aware grep) or "git bgrep" (from built-in > grep), similar to the egrep and fgrep from the grep package?
Yes, I understand, but I just don't like using 'grip'. And it would be nice to have some convention for further not-ready-yet built-in replacements for script versions of commands, for example adding letter 'b' as 'built-in' at the beginning of command name: 'bgrep', 'bdiff'. Or use postfix 'n' or '-ng' to denote transitionary not-ready-yet new version of command: 'grepn', 'diffn' or 'grep-ng', 'diff-ng'.
By the way, [my] grep is linked against libpcre - would it mean that git would also need to use pcre library, or at least have an option to use it?
I also wonder if anyone would be interested to _force_ using external grep (probably enhanced)... just a thought.
-- Jakub Narebski Warsaw, Poland