mirror of https://github.com/torvalds/linux.git
checkpatch: allow http links of any length in commit logs
Dave Gilbert noticed that checkpatch warns about URL links over 75 chars in length in commit logs. Fix that. Link: https://lkml.kernel.org/r/3529faaf84a5a9a96c5c0ec4183ae0ba6e97673c.camel@perches.com Signed-off-by: Joe Perches <joe@perches.com> Cc: Dave Gilbert <linux@treblig.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
e416f0ed3c
commit
a6cf527e66
|
|
@ -3294,7 +3294,7 @@ sub process {
|
||||||
# file delta changes
|
# file delta changes
|
||||||
$line =~ /^\s*(?:[\w\.\-\+]*\/)++[\w\.\-\+]+:/ ||
|
$line =~ /^\s*(?:[\w\.\-\+]*\/)++[\w\.\-\+]+:/ ||
|
||||||
# filename then :
|
# filename then :
|
||||||
$line =~ /^\s*(?:Fixes:|$link_tags_search|$signature_tags)/i ||
|
$line =~ /^\s*(?:Fixes:|https?:|$link_tags_search|$signature_tags)/i ||
|
||||||
# A Fixes:, link or signature tag line
|
# A Fixes:, link or signature tag line
|
||||||
$commit_log_possible_stack_dump)) {
|
$commit_log_possible_stack_dump)) {
|
||||||
WARN("COMMIT_LOG_LONG_LINE",
|
WARN("COMMIT_LOG_LONG_LINE",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue