From: Taylor Blau Date: Tue, 08 May 2018 00:24:38 GMT Subject: Re: [PATCH 1/2] grep.c: extract show_line_header() Message-ID: <20180508002438.GA6763@syl.local> In-Reply-To: On Sat, May 05, 2018 at 03:30:51AM -0400, Eric Sunshine wrote: > On Sat, May 5, 2018 at 12:03 AM, Taylor Blau 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 :-). > > 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