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-msg6
1 files changed, 0 insertions, 6 deletions
diff --git a/.git-hooks/commit-msg b/.git-hooks/commit-msg
index fb08d10be330..cf52ce307dda 100755
--- a/.git-hooks/commit-msg
+++ b/.git-hooks/commit-msg
@@ -66,12 +66,6 @@ if [ -n "`head -n 1 $1 | grep '^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}.*<.*@.*>'`" ] ;
abort "$1" "The commit message looks like ChangeLog, please use the git form."
fi
-# Check for whitespace in front of *'s
-
-if [ -n "`sed '/^#/,$d' $1 | grep '^[[:space:]]\+\*.*:'`" -a -z "`grep '^\*' $1`" ] ; then
- abort "$1" "Please don't use whitespace in front of '* file: Description.' entries."
-fi
-
# Check that lines do not start with '#<something>' (possibly accidental commit,
# such as starting the message with '#ifdef', git commits start with '#<whitespace>'.