From 6f1189729ac57c56f981f7394a88521384f48cca Mon Sep 17 00:00:00 2001 From: Nick Draper <nick.draper@stfc.ac.uk> Date: Tue, 7 Apr 2020 10:14:49 +0100 Subject: [PATCH] Shorten commit length requirement to 10 characters --- .githooks/commit-msg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.githooks/commit-msg b/.githooks/commit-msg index da2c1a04599..a8150441705 100755 --- a/.githooks/commit-msg +++ b/.githooks/commit-msg @@ -66,8 +66,8 @@ msg_first() { if test $len -eq 0; then # not yet first line return - elif test $len -lt 20; then - die 'Please make the first line at least 20 characters (yours is '$len'): + elif test $len -lt 10; then + die 'Please make the first line at least 10 characters (yours is '$len'): -------------------| '"$line"' -------------------|' -- GitLab