Messages in this thread Patch in this message | | | Date | Wed, 03 Sep 2014 11:09:17 -0400 | From | Pranith Kumar <> | Subject | Re: Bogus error in checkpatch.pl |
| |
On 09/03/2014 01:34 AM, Joe Perches wrote: > Maybe. Suggest a modified message. >
How about the following?
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index b602ed2..bcc384e 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2143,7 +2143,7 @@ sub process { my $desc = 'commit description'; ($id, $desc) = git_commit_info($orig_commit, $id, $desc); ERROR("GIT_COMMIT_ID", - "Please use 12 or more chars for the git commit ID like: '${init_char}ommit $id (\"$desc\")'\n" . $herecurr); + "Please use 12 or more chars for the git commit ID and parentheses for the commit message like: '${init_char}ommit $id (\"$desc\")'\n" . $herecurr); } # Check for added, moved or deleted files
| |