diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-09-19 01:13:23 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-09-19 01:22:54 -0700 |
commit | be87d61299f52e366bcb65fd176ccf325b0f77e0 (patch) | |
tree | c5e289ea68824ba407d5928e0e6e65d8bab51430 /scripts/git-hooks | |
parent | 44ccd1c4657703b15971b0670b9716a25244a358 (diff) | |
download | coreutils-be87d61299f52e366bcb65fd176ccf325b0f77e0.tar.gz |
all: prefer HTTPS in URLs
Diffstat (limited to 'scripts/git-hooks')
-rwxr-xr-x | scripts/git-hooks/commit-msg | 4 |
1 files changed, 2 insertions, 2 deletions
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:"); |