Re: [PATCH] checkpatch: Warn on empty commit log bodies

From: Stefan Richter
Date: Sat Feb 28 2009 - 12:33:49 EST


Mark Brown wrote:
> It is apparent that they do not consider
> the subject line of the e-mail (which is the first line of the changelog
> if you're using git) to be part of the changelog.

This really surprises me. ^Subject: .+$ is the title of the log and
thereby its first part. Also, I don't see a connection to git. I
manage patches with quilt and never loose patch titles. I still think
you should count ^Subject: .+$ too if you want to check for presence of
a changelog.

Sometimes I see patch postings with the title appearing twice; I always
thought these were beginners' mistakes and a nuisance when importing a
patch.

(PS: Granted, many patches come with poorly written changelogs; I
struggle with it in my own patches all the time too. But it's something
which checkpatch just cannot check.)
--
Stefan Richter
-=====-==--= --=- ===--
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/