Re: [PATCH 2/2] checkpatch: Don't check for unified diff format in git sendemail headers

From: Joe Perches
Date: Thu Feb 22 2024 - 03:55:16 EST


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?

> These headers are, as expected, not
> in unified diff format. So, don't complain about unified diff format for
> these header files.