[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1313652390.32547.53.camel@Joe-Laptop>
Date: Thu, 18 Aug 2011 00:26:30 -0700
From: Joe Perches <joe@...ches.com>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: linux-kernel@...r.kernel.org,
Bruce Allan <bruce.w.allan@...el.com>,
Anish Kumar <anish198519851985@...il.com>,
Andy Whitcroft <apw@...onical.com>
Subject: Re: [PATCH] checkpatch: do not test/warn of leading whitespace
before signature tags
On Wed, 2011-08-17 at 23:48 -0700, Jeff Kirsher wrote:
> From: Bruce Allan <bruce.w.allan@...el.com>
>
> Commit 2011247 introduced additional style checks for signature tags in
> patches which is good. Unfortunately, now whenever patches are checked
> by piping the output of 'git show' or 'stg show' through checkpatch it
> warns not to use whitespace before all signature tags since these (and the
> rest of the patch description) are indented. Remove this test/warning.
I think this is not a good idea.
checkpatch is meant for patches not git log output.
indenting signatures can cause other problems later.
I think you can avoid this easily by using checkpatch
option --ignore=BAD_SIGN_OFF when using git log output
as input.
You could also use:
git log --format="commit %H%nAuthor: %an <%ae>%nDate: %aD%n%n%s%n%n%b"
so that you get the current default --format=medium
output without indenting the commit log body.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists