From a0f205ba923b80e58bd77f4d4cef68e248f87c4c Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Mon, 21 Jun 2021 13:22:28 +0100 Subject: maint: allow hook script accept "Signed-off-by:" * scripts/git-hooks/commit-msg: Relax this constraint. --- scripts/git-hooks/commit-msg | 3 --- 1 file changed, 3 deletions(-) (limited to 'scripts/git-hooks/commit-msg') diff --git a/scripts/git-hooks/commit-msg b/scripts/git-hooks/commit-msg index 8a4b894ef..03f8c5c31 100755 --- a/scripts/git-hooks/commit-msg +++ b/scripts/git-hooks/commit-msg @@ -133,9 +133,6 @@ sub check_msg($$) $buf =~ m!https://lists\.gnu\.org/archive/html/!s and return "use '/r/' in place of '/archive/html/' in lists.gnu.org URLs"; - $buf =~ /^ *Signed-off-by:/mi - and return q(do not use "Signed-off-by:"); - return ''; } -- cgit v1.2.3