summaryrefslogtreecommitdiff
path: root/.git-hooks/commit-msg
diff options
context:
space:
mode:
Diffstat (limited to '.git-hooks/commit-msg')
-rwxr-xr-x.git-hooks/commit-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/.git-hooks/commit-msg b/.git-hooks/commit-msg
index 637b1498ad66..e3dfe6910a18 100755
--- a/.git-hooks/commit-msg
+++ b/.git-hooks/commit-msg
@@ -35,7 +35,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 '^[[:blank:]]*\*$'`" ] ; then
abort "$1" "Please provide the general description on the first line."
fi