diff options
author | Andre de la Rocha <andre.rocha@qt.io> | 2017-08-16 12:39:21 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-08-16 11:06:55 +0000 |
commit | 1810e285c623c428b2d201583b4e28aadcf1f6d0 (patch) | |
tree | 4e7b56e3189a8a099323e640a39727b1838d66f3 /git-hooks | |
parent | f9427cec15cdcfd37c13fc883fd17d16f23bdcfb (diff) |
Accept lower case "la" as part of a real name
Changes the sanity script to accept "la", which is common in Spanish
names.
Change-Id: I90bbd0da74631d27e73d9ed9e35f6fc5252ba1aa
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'git-hooks')
-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 606338a..fe047c9 100755 --- a/git-hooks/sanitize-commit +++ b/git-hooks/sanitize-commit @@ -235,7 +235,7 @@ sub check_email($$$$) # - contain no spaces # - have words starting with lowercase (except for common Nobiliary particles) # - have single letters not followed by a dot or apostrophe - if (!defined($good_names{$real}) && ($real !~ / / || $real =~ /\b(?!da|de|d'|van|von)\p{Ll}|\b\pL([^.'\pL]|$)/)) { + if (!defined($good_names{$real}) && ($real !~ / / || $real =~ /\b(?!da|de|d'|la|van|von)\p{Ll}|\b\pL([^.'\pL]|$)/)) { if ($gerrit_rest) { do_complain($line, "Suspicious real name", "email"); } else { |