Re: [PATCH 1/2] grep.c: extract show_line_header()
- From
Taylor Blau <me@ttaylorr.com>
- Date
- May 8, 2018, 00:24 UTC
- Message-ID
- <20180508002438.GA6763@syl.local>
- In-Reply-To
- <CAPig+cRbBZ+QTqGiW_wQ9E-gROA-Wtevp1vcRqmJ5YQJ8tYEVQ@mail.gmail.com>
On Sat, May 05, 2018 at 03:30:51AM -0400, Eric Sunshine wrote:
Show 7 quoted lines
> On Sat, May 5, 2018 at 12:03 AM, Taylor Blau <me@ttaylorr.com> wrote: > > Teach 'git-grep(1)' how to print a line header multiple times from > > show_line() in preparation for it learning '--only-matching'. > > > > show_line_header() comprises of the code in show_line() executed in > > s/of//
Ack -- thanks for pointing that out :-).
Show 7 quoted lines
> > order to produce a line header. It is a one-for-one extraction of the > > existing implementation. > > > > For now, show_line_header() provides no benefit over the change before > > this patch. The following patch will call conditionally call > > s/call conditionally call/conditionally call/
Double ack. Thanks again :-).
Thanks, Taylor