diff options
-rwxr-xr-x | scripts/git-hooks/commit-msg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/git-hooks/commit-msg b/scripts/git-hooks/commit-msg index f867331d2..56286d486 100755 --- a/scripts/git-hooks/commit-msg +++ b/scripts/git-hooks/commit-msg @@ -125,7 +125,7 @@ sub check_msg($$) $buf =~ m!https?://debbugs\.gnu\.org/(?:cgi/bugreport\.cgi\?bug=)?(\d+)!s and return "use shorter http://bugs.gnu.org/$1"; - $buf =~ /^ *Signed-off-by:/i + $buf =~ /^ *Signed-off-by:/mi and return q(do not use "Signed-off-by:"); return ''; |