[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171031155010.w6emtlxvosfg5ufb@revenge.us.oracle.com>
Date: Tue, 31 Oct 2017 10:50:10 -0500
From: Tom Saeger <tom.saeger@...cle.com>
To: Joe Perches <joe@...ches.com>
Cc: Tom Saeger <tom.saeger@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH 1/2] scripts: warn about invalid MAINTAINER patterns
On Tue, Oct 31, 2017 at 08:47:58AM -0700, Joe Perches wrote:
> On Tue, 2017-10-31 at 09:46 -0500, Tom Saeger wrote:
> > Add get_maintainer.pl option to warn about invalid
> > "F" and "X" patterns found in MAINTAINERS file(s).
>
> Hi Tom.
>
> I've had a similar script for many years.
>
> This implementation is very inefficient as it runs
> git ls-files once for each file pattern.
>
> It's much more efficient to do a global git ls-files
> once and store the result and then do a local grep
> for pattern matches.
OH! that was my intention. Thanks - I'll fix it.
>
> cheers, Joe
Powered by blists - more mailing lists