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
3294 # file delta changes3294 # file delta changes
3295 $line =~ /^\s*(?:[\w\.\-\+]*\/)++[\w\.\-\+]+:/ ||3295 $line =~ /^\s*(?:[\w\.\-\+]*\/)++[\w\.\-\+]+:/ ||
3296 # filename then :3296 # filename then :
3297 $line =~ /^\s*(?:Fixes:|$link_tags_search|$signature_tags)/i ||3297 $line =~ /^\s*(?:Fixes:|https?:|$link_tags_search|$signature_tags)/i ||
3298 # A Fixes:, link or signature tag line3298 # A Fixes:, link or signature tag line
3299 $commit_log_possible_stack_dump)) {3299 $commit_log_possible_stack_dump)) {
3300 WARN("COMMIT_LOG_LONG_LINE",3300 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