bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Strange scripts/get_maintainer.pl output
       [not found] <CANiq72kQUvnVq0U-okpND8L5xueHs4o3-mKMNX8_P0n5uZw+-w@mail.gmail.com>
@ 2019-09-12 22:51 ` Joe Perches
  2019-09-12 23:08   ` Miguel Ojeda
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Perches @ 2019-09-12 22:51 UTC (permalink / raw)
  To: Miguel Ojeda; +Cc: bpf, Alexei Starovoitov, Daniel Borkmann

On Fri, 2019-09-13 at 00:25 +0200, Miguel Ojeda wrote:
> Hi Joe,

Hey Miguel.

> I was preparing the RFC for the clang-format stuff and I ran:
> 
>   scripts/get_maintainer.pl -f .clang-format
> 
> But it seems I (also) got the people from the BPF entry for some
> reason. Maybe the dot messes with some regex? (although other
> dot-files seem to work). I could try to solve it, but my Perl-fu is
> weak and you are the wizard of get_maintainer.pl anyway... :-)

It's not perl, it's the entry for
	K: bpf
in the BPF section.

BPF (Safe dynamic programs and tools)
M:	Alexei Starovoitov <ast@kernel.org>
M:	Daniel Borkmann <daniel@iogearbox.net>
[...]
K:	bpf
N:	bpf

This K: entry matches a _lot_ of files that contain bpf.

For instance, the .clang-format file has:

$ git grep bpf .clang-format
.clang-format:  - 'bpf_for_each_spilled_reg'

If you use --no-keywords, you get:

$ ./scripts/get_maintainer.pl -f --no-keywords .clang-format
Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> (maintainer:CLANG-FORMAT FILE)
linux-kernel@vger.kernel.org (open list)




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strange scripts/get_maintainer.pl output
  2019-09-12 22:51 ` Strange scripts/get_maintainer.pl output Joe Perches
@ 2019-09-12 23:08   ` Miguel Ojeda
  0 siblings, 0 replies; 2+ messages in thread
From: Miguel Ojeda @ 2019-09-12 23:08 UTC (permalink / raw)
  To: Joe Perches; +Cc: bpf, Alexei Starovoitov, Daniel Borkmann

On Fri, Sep 13, 2019 at 12:51 AM Joe Perches <joe@perches.com> wrote:
>
> This K: entry matches a _lot_ of files that contain bpf.
>
> For instance, the .clang-format file has:

Aaaaah! I thought the matching was not using the contents of the
files, but the commit information etc.!

Never mind then -- thanks a lot!

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-12 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CANiq72kQUvnVq0U-okpND8L5xueHs4o3-mKMNX8_P0n5uZw+-w@mail.gmail.com>
2019-09-12 22:51 ` Strange scripts/get_maintainer.pl output Joe Perches
2019-09-12 23:08   ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).