diff options
author | Daniel Smith <daniel.smith@qt.io> | 2020-07-10 10:44:59 +0200 |
---|---|---|
committer | Daniel Smith <Daniel.Smith@qt.io> | 2020-07-10 13:54:53 +0000 |
commit | c068b2ae9bb442f4e0c6fde3210080a53997ec56 (patch) | |
tree | 2eb012815d5c4194af67a5ffc71b653ad211132e /git-hooks | |
parent | 717165804ffc82ab73e1e2b886bd0b0899a5013d (diff) |
Sanity-bot: Fix typo in commit message parser
Committer name/email have never been checked for validity
due to a typo.
Change-Id: Ida571959bbe56d7c4ca2c0e20f50ad13dc81ce71
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
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 bebe4ee..1c4906e 100755 --- a/git-hooks/sanitize-commit +++ b/git-hooks/sanitize-commit @@ -418,7 +418,7 @@ while (<MSG>) { $parents++ ; } elsif (/^author ([^<]*?) *<([^>]+)/) { check_email($1, $2, $parents + 1, "author"); - } elsif (/^commiter ([^<]*?) *<([^>]+)/) { + } elsif (/^committer ([^<]*?) *<([^>]+)/) { check_email($1, $2, $parents + 3, "committer"); } } |