Re: [PATCH] get_maintainer: Add the --for-tree argument

From: Palmer Dabbelt
Date: Thu Oct 13 2022 - 23:53:02 EST


On Thu, 13 Oct 2022 20:48:10 PDT (-0700), joe@xxxxxxxxxxx wrote:
On Thu, 2022-10-13 at 19:56 -0700, Palmer Dabbelt wrote:
On Thu, 13 Oct 2022 17:39:53 PDT (-0700), joe@xxxxxxxxxxx wrote:
> On Thu, 2022-10-13 at 14:57 -0700, Palmer Dabbelt wrote:
> > I recently wanted to look up the maintainers for each tree path via a
> > script, and I couldn't find a better way to do that than poking
> > get_maintainer.pl to add a new argument. This lets folks run something
> > like
> > > > $ ./scripts/get_maintainer.pl --for-tree git://github.com/kvm-riscv/linux.git
> > Anup Patel <anup@xxxxxxxxxxxxxx> (maintainer:KERNEL VIRTUAL MACHINE FOR RISC-V (KVM/riscv))
> > kvm@xxxxxxxxxxxxxxx (maintainer:KERNEL VIRTUAL MACHINE FOR RISC-V (KVM/riscv))
> > kvm-riscv@xxxxxxxxxxxxxxxxxxx (maintainer:KERNEL VIRTUAL MACHINE FOR RISC-V (KVM/riscv))
> > linux-riscv@xxxxxxxxxxxxxxxxxxx (maintainer:KERNEL VIRTUAL MACHINE FOR RISC-V (KVM/riscv))
> > > > to find out who owns a tree.
> > I'm not sure this is useful.
[]
Generally sound like you don't want this one so I'm going to punt on fixing these for now, I don't care all that much about having this merged.

LMK if you want a v2, though.

I think it's not necessary.

Works for me.