[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGETcx-mNt+_ST0opQ=_M1ZJK1acf8Rr0VqaAUskyig5YwL_dw@mail.gmail.com>
Date: Thu, 22 Feb 2024 16:45:36 -0800
From: Saravana Kannan <saravanak@...gle.com>
To: Joe Perches <joe@...ches.com>
Cc: Andy Whitcroft <apw@...onical.com>, Dwaipayan Ray <dwaipayanray1@...il.com>,
Lukas Bulwahn <lukas.bulwahn@...il.com>, kernel-team@...roid.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] checkpatch: Don't check for unified diff format in
git sendemail headers
On Thu, Feb 22, 2024 at 12:54 AM Joe Perches <joe@...ches.com> wrote:
>
> On Wed, 2024-02-21 at 21:15 -0800, Saravana Kannan wrote:
> > When checkpatch is used as a git sendemail-validate hook, it's also passed
> > in the email header for sanity check.
>
> Why?
>
> If so, why not use a front-end script to stop/remove
> the file from being scanned by checkpatch?
Sure, I could do that. But this also makes it easier for people to
start using checkpatch. Or I can put up a git hook wrapper script in
here for people to symlink into their .git/hooks that does this.
I'd prefer the lazy route of not creating a 1 line wrapper script :)
-Saravana
>
> > These headers are, as expected, not
> > in unified diff format. So, don't complain about unified diff format for
> > these header files.
>
Powered by blists - more mailing lists