mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 07:50:31 +01:00
contrib/checkpatch: remove the first character off a diff
Otherwise the leading whitespace checks won't work on patches.
This commit is contained in:
parent
587f006690
commit
0d3c6072f5
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ if ($is_patch) {
|
|||
new_file ($2);
|
||||
next;
|
||||
}
|
||||
/^([ \+])(.*)/ or next;
|
||||
s/^([ \+])(.*)/$2/ or next;
|
||||
$line_no++;
|
||||
$check_line = $1 eq '+';
|
||||
$line = $2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue