Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix regex pattern in commit-msg
[gitweb.git]
/
templates
/
hooks--commit-msg
diff --git
a/templates/hooks--commit-msg
b/templates/hooks--commit-msg
index 643822d2351c4547895237992400bd92f492085b..23617f390611f5221149ec1b9bbc5d72092fd04d 100644
(file)
--- a/
templates/hooks--commit-msg
+++ b/
templates/hooks--commit-msg
@@
-11,4
+11,4
@@
# This example catches duplicate Signed-off-by lines.
test "" = "$(grep '^Signed-off-by: ' "$1" |
- sort | uniq -c | sed -e '/^[ ]*1
/d')"
+ sort | uniq -c | sed -e '/^[ ]*1
[ ]
/d')"