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 d51a33035855..62572138578b 100755
--- a/git-hooks/commit-msg
+++ b/git-hooks/commit-msg
@@ -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