Re: [PATCH 3/3] grep: recurse in-process using 'struct repository'
- From
- Brandon Williams <bmwill@google.com>
- Date
- Jul 12, 2017, 18:54 UTC
- Message-ID
- <20170712185411.GG65927@google.com>
- In-Reply-To
- <CA+P7+xqxkPxcmLSYVLodEwucdkQb1jqN0SiAy_dBeOshTjOyjg@mail.gmail.com>
On 07/11, Jacob Keller wrote:
Show 18 quoted lines
> On Tue, Jul 11, 2017 at 3:04 PM, Brandon Williams <bmwill@google.com> wrote: > > Convert grep to use 'struct repository' which enables recursing into > > submodules to be handled in-process. > > > > Signed-off-by: Brandon Williams <bmwill@google.com> > > --- > > Documentation/git-grep.txt | 7 - > > builtin/grep.c | 390 +++++++++------------------------------------ > > cache.h | 1 - > > git.c | 2 +- > > grep.c | 13 -- > > grep.h | 1 - > > setup.c | 12 +- > > 7 files changed, 81 insertions(+), 345 deletions(-) > > > > No real indepth comments here, but it's nice to see how much code > reduction this has enabled!
Yeah overall, with this and the ls-files conversion, I'm really pleased with how much cleaner the code looks moving to working in-process.
-- Brandon Williams