[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMn1gO7pF3td6Gmxu=JYq-ZuwWc8C0PuiYX0p3YGq6V7Qu2wzg@mail.gmail.com>
Date: Fri, 4 Nov 2022 09:51:14 -0700
From: Peter Collingbourne <pcc@...gle.com>
To: Andy Whitcroft <apw@...onical.com>, Joe Perches <joe@...ches.com>,
Dwaipayan Ray <dwaipayanray1@...il.com>,
Lukas Bulwahn <lukas.bulwahn@...il.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] checkpatch.pl: use correct gitroot when running from
non-top-level dir
On Wed, Feb 23, 2022 at 2:32 PM Peter Collingbourne <pcc@...gle.com> wrote:
>
> On Mon, Sep 13, 2021 at 4:33 PM Peter Collingbourne <pcc@...gle.com> wrote:
> >
> > My workflow usually requires running checkpatch.pl from a subdirectory
> > of the kernel source tree. This works for the most part, but the script
> > will be unable to find the .git directory and will therefore refuse to
> > run any git commands (so, e.g. commit ID verification will fail). Fix
> > it by prepending $root to $gitroot when a root is set.
> >
> > This also requires fixing one root directory assumption in a git
> > invocation.
>
> Ping.
Ping^2.
Peter
Powered by blists - more mailing lists