aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit/template/hooks/prepare-commit-msg.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/template/hooks/prepare-commit-msg.awk b/git/template/hooks/prepare-commit-msg.awk
index 96d7c6cb..44913406 100755
--- a/git/template/hooks/prepare-commit-msg.awk
+++ b/git/template/hooks/prepare-commit-msg.awk
@@ -17,7 +17,7 @@ BEGIN {
}
# This line is blank, or a comment; reset the branch
-!NF || $1 ~ /^\#/ { branch = 0 }
+!NF || $1 ~ /^#/ { branch = 0 }
# Commit message subject patterns to skip go here; be as precise as you can
$0 == " Bump VERSION" { next } # Skip version number bumps