mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
contrib/checkpatch: complain about patch format with "Reverts:" tag
This commit is contained in:
parent
503fa9df7b
commit
96a3d664cb
|
@ -137,7 +137,7 @@ if ($is_patch) {
|
|||
$check_line = 1;
|
||||
$line = $_;
|
||||
/^---$/ and $is_commit_message = 0;
|
||||
/^Fixes: *(.*)/ and check_commit ($1, 1);
|
||||
/^(Reverts|Fixes): *(.*)/ and check_commit ($2, 1);
|
||||
/This reverts commit/ and next;
|
||||
/cherry picked from/ and next;
|
||||
/\bcommit (.*)/ and check_commit ($1, 0);
|
||||
|
|
Loading…
Reference in a new issue