diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-07-24 13:51:18 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-08-22 14:03:58 +0000 |
commit | 21574ed0092c596d46bd4639262c1918ea28af6c (patch) | |
tree | 5e44d155e516877d23e09351e86bfcb493a6310a | |
parent | 1810e285c623c428b2d201583b4e28aadcf1f6d0 (diff) |
sanitizer: accept aNy cASe in remainder of first word of footers
otherwise we complain about "LLVM-bug", which is not helpful.
this also removes the now-obsolete GPush special case.
Change-Id: I22bb22cd29e152dce9d21a1bb7e7aece837266f7
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rwxr-xr-x | git-hooks/sanitize-commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/sanitize-commit b/git-hooks/sanitize-commit index fe047c9..b3e8031 100755 --- a/git-hooks/sanitize-commit +++ b/git-hooks/sanitize-commit @@ -460,7 +460,7 @@ while (<MSG>) { $badsign = 0; # cherry-pick lines count as footers as well. $ftr = 1; - } elsif (/^([A-Z][a-z]+|GPush)(-[A-Za-z][a-z]+)+: /) { + } elsif (/^[A-Z][A-Za-z]+(-[A-Za-z][a-z]+)+: /) { $ftr = 1; } elsif (/^(\[change-?log\]|change-?log: )/i && !defined($cfg{changelog})) { $inchangelog = 1; |