summaryrefslogtreecommitdiff
path: root/git-hooks/commit-msg
diff options
context:
space:
mode:
Diffstat (limited to 'git-hooks/commit-msg')
-rwxr-xr-xgit-hooks/commit-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/commit-msg b/git-hooks/commit-msg
index ad6400d1fcde..fa0b2e20aea8 100755
--- a/git-hooks/commit-msg
+++ b/git-hooks/commit-msg
@@ -125,7 +125,7 @@ add_ChangeId() {
for($line = @message - 1; $line >= 0; $line--) {
$_ = $message[$line];
- if (/^[a-zA-Z0-9-]+:/ && !m,^[a-z0-9-]+://,) {
+ if (/^[a-zA-Z0-9-]+: /) {
$haveFooter++;
next;
}