diff options
author | Pádraig Brady <P@draigBrady.com> | 2021-06-21 13:22:28 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2021-08-14 21:40:54 +0100 |
commit | a0f205ba923b80e58bd77f4d4cef68e248f87c4c (patch) | |
tree | 84bc2b152863b3439390fd02b535f09be37a76ed /scripts/git-hooks/commit-msg | |
parent | a3c04f8da14f0fe2a0561bf5562032b8ce5dafa9 (diff) | |
download | coreutils-a0f205ba923b80e58bd77f4d4cef68e248f87c4c.tar.gz |
maint: allow hook script accept "Signed-off-by:"
* scripts/git-hooks/commit-msg: Relax this constraint.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
-rwxr-xr-x | scripts/git-hooks/commit-msg | 3 |
1 files changed, 0 insertions, 3 deletions
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 ''; } |