diff options
-rwxr-xr-x | git-hooks/commit-msg | 2 |
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 |