Kaydet (Commit) 5403fa51 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

commit-msg hook: allow commit message that *starts* with an asterisk

üst a5b21ebc
......@@ -32,7 +32,7 @@ test "" = "$(grep '^Signed-off-by: ' "$1" |
# Check that the first line exists, and is not an asterisk
if [ -z "`head -n 1 $1 | grep -v '^[ \t]*\*'`" ] ; then
if [ -z "`head -n 1 $1 | grep -v '^[ \t]*\*$'`" ] ; then
abort "$1" "Please provide the general description on the first line."
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment