Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2e2f6f7 authored by Neeraj Upadhyay's avatar Neeraj Upadhyay
Browse files

checkpatch: Fix the commit log false positive warnings



Similar to commit 39229466 ("checkpatch: Fix the commit
log false positive warnings") cover the case where file name
contains ','.

Change-Id: Ib3ecb07be9393c77d2dec4f52f40b1cb0c949687
Signed-off-by: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
parent 6a1ffe01
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 :