History

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.

Joe Perches committed 1 year ago

Commit a6cf5271 parent e416f0e1 file · +1 −1Browse files

Showing the changes to scripts/checkpatch.pl (1 of 1 file). Show all

Unified · Split

scripts/checkpatch.pl+1−1
@@ -3294,7 +3294,7 @@ sub process { · 3293 unmodified lines
32943294 # file delta changes
32953295 $line =~ /^\s*(?:[\w\.\-\+]*\/)++[\w\.\-\+]+:/ ||
32963296 # filename then :
3297− $line =~ /^\s*(?:Fixes:|$link_tags_search|$signature_tags)/i ||
3297+ $line =~ /^\s*(?:Fixes:|https?:|$link_tags_search|$signature_tags)/i ||
32983298 # A Fixes:, link or signature tag line
32993299 $commit_log_possible_stack_dump)) {
33003300 WARN("COMMIT_LOG_LONG_LINE",

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t