]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: allow hook script accept "Signed-off-by:"
authorPádraig Brady <P@draigBrady.com>
Mon, 21 Jun 2021 12:22:28 +0000 (13:22 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 14 Aug 2021 20:40:54 +0000 (21:40 +0100)
* scripts/git-hooks/commit-msg: Relax this constraint.

scripts/git-hooks/commit-msg

index 8a4b894efc90019ae2a24e8c323fe474f935e20b..03f8c5c31470d75337fe70fe62821c24e2a99535 100755 (executable)
@@ -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 '';
 }