Re: [PATCH] git grep: Add "-Z/--null" option as in GNU's grep.
- From
Raphael Zimmerer <killekulla@rdrz.de>
- Date
- Sep 30, 2008, 23:41 UTC
- Message-ID
- <20080930234157.GA1453@rdrz.de>
- In-Reply-To
- <20080930231619.GR21310@spearce.org>
On Tue, Sep 30, 2008 at 04:16:19PM -0700, Shawn O. Pearce wrote:
> Elsewhere in Git we call this "-z", like "git ls-tree -z", "git > log -z". Should we match grep or git convention here?
I'd tend to grep's convention, as most options of git-grep mimic those of grep. grep uses "-z" for \0 on _input_, so that would be very confusing for grep users...
- Raphael