summaryrefslogtreecommitdiff
path: root/git-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'git-hooks')
-rwxr-xr-xgit-hooks/sanitize-commit2
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");
}
}