checkpatch: Fix the commit log false positive warnings
Similar to commit 39229466a6 ("checkpatch: Fix the commit
log false positive warnings") cover the case where file name
contains ','.
Change-Id: Ib3ecb07be9393c77d2dec4f52f40b1cb0c949687
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
This commit is contained in:
1 parent
6a1ffe0172
commit
c2e2f6f79d
1 file changed
+1
-1
@@ -2817,7 +2817,7 @@ sub process {
|
||||
# Check for line lengths > 75 in commit log, warn once
|
||||
if ($in_commit_log && !$commit_log_long_line &&
|
||||
length($line) > 75 &&
|
||||
!($line =~ /^\s*[a-zA-Z0-9_\/\.\-]+\s+\|\s+\d+/ ||
|
||||
!($line =~ /^\s*[a-zA-Z0-9_\/\.\-\,]+\s+\|\s+\d+/ ||
|
||||
# file delta changes
|
||||
$line =~ /^\s*(?:[\w\.\-]+\/)++[\w\.\-]+:/ ||
|
||||
# filename then :
|
||||
|
||||
Reference in new issue
Block a user