Re: [PATCH] get_maintainer.pl: support running from non-top-level dir

From: Peter Collingbourne
Date: Fri Nov 04 2022 - 12:52:48 EST


On Wed, Feb 23, 2022 at 2:31 PM Peter Collingbourne <pcc@xxxxxxxxxx> wrote:
>
> On Mon, Sep 13, 2021 at 4:34 PM Peter Collingbourne <pcc@xxxxxxxxxx> wrote:
> >
> > My workflow usually involves running scripts from a subdirectory of the
> > kernel source tree. This fails with get_maintainer.pl because it assumes
> > that it runs from the top level. Fix this assumption by setting $lk_path
> > appropriately based on a check of $0 similar to what is in checkpatch.pl.
> >
> > This also requires fixing the VCS available checks to also check $lk_path.
>
> Ping.

Ping^2.

Peter