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

From: Peter Collingbourne
Date: Wed Feb 23 2022 - 17:31:47 EST


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.

Peter