From be87d61299f52e366bcb65fd176ccf325b0f77e0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 19 Sep 2017 01:13:23 -0700 Subject: all: prefer HTTPS in URLs --- scripts/git-hooks/commit-msg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/git-hooks/commit-msg') diff --git a/scripts/git-hooks/commit-msg b/scripts/git-hooks/commit-msg index 6aedf807f..e6b38bb21 100755 --- a/scripts/git-hooks/commit-msg +++ b/scripts/git-hooks/commit-msg @@ -125,10 +125,10 @@ sub check_msg($$) my $buf = join ("\n", @line) . "\n"; $buf =~ m!https?://bugzilla\.redhat\.com/show_bug\.cgi\?id=(\d+)!s - and return "use shorter http://bugzilla.redhat.com/$1"; + and return "use shorter https://bugzilla.redhat.com/$1"; $buf =~ m!https?://debbugs\.gnu\.org/(?:cgi/bugreport\.cgi\?bug=)?(\d+)!s - and return "use shorter http://bugs.gnu.org/$1"; + and return "use shorter https://bugs.gnu.org/$1"; $buf =~ /^ *Signed-off-by:/mi and return q(do not use "Signed-off-by:"); -- cgit v1.2.3