]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add test for commit id formatting style in commit log
authorJoe Perches <joe@perches.com>
Wed, 6 Aug 2014 23:10:57 +0000 (16:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:28 +0000 (18:01 -0700)
commitebe78ce6bdc5eb5cc4633db4f687241b199d1af1
tree936d10a3a8ae8e3a6030f23582582aa91e3c66c1
parente28d1ab0e47008625a9fab0f05893b009232bdc9
checkpatch: add test for commit id formatting style in commit log

Commit logs have various forms of commit id references.

Try to standardize on a 12 character long lower case commit id along
with a description of parentheses and the quoted subject line.

ie: commit 0123456789ab ("commit description")

If git and a git tree exists, look up the commit id and emit the
appropriate line as part of the message.

Signed-off-by: Joe Perches <joe@perches.com>
Requested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl