From b4b7504a64b3709ce03c969cb7b4db1ab62c6a7c Mon Sep 17 00:00:00 2001 From: missytake Date: Sat, 18 Mar 2023 16:03:53 +0100 Subject: [PATCH] [twitter] Removed twitter from git hook --- git-hooks/commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-hooks/commit-msg b/git-hooks/commit-msg index 163ef4d..48daf2a 100755 --- a/git-hooks/commit-msg +++ b/git-hooks/commit-msg @@ -6,7 +6,7 @@ # # client-side git-hook - checks commit message style -pattern='\[(core|frontend|twitter|telegram|email|xmpp|mastodon|tests|doc|misc)\] [[:upper:]].*[^.]' +pattern='\[(core|frontend|telegram|email|xmpp|mastodon|tests|doc|misc)\] [[:upper:]].*[^.]' head -n 1 "$1" | egrep -x "$pattern" > /dev/null if [ $? -ne 0 ]; then echo "commit message doesn't match \"$pattern\"" >&2