1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2025-07-01 10:21:45 +03:00

maint: allow hook script accept "Signed-off-by:"

* scripts/git-hooks/commit-msg: Relax this constraint.
This commit is contained in:
Pádraig Brady
2021-06-21 13:22:28 +01:00
parent a3c04f8da1
commit a0f205ba92

View File

@ -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 '';
}