[Libreoffice-commits] .: git-hooks/commit-msg
Lionel Elie Mamane
lmamane at kemper.freedesktop.org
Tue Nov 15 00:13:29 PST 2011
git-hooks/commit-msg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5403fa516bb83181d78789cd2cad8ed59c69de1e
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Tue Nov 15 09:13:19 2011 +0100
commit-msg hook: allow commit message that *starts* with an asterisk
diff --git a/git-hooks/commit-msg b/git-hooks/commit-msg
index d51a330..6257213 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
More information about the Libreoffice-commits
mailing list