summaryrefslogtreecommitdiff
path: root/git-hooks/templates.git/hooks/update
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@libreoffice.org>2020-02-16 19:47:20 +0100
committerGuilhem Moulin <guilhem@libreoffice.org>2020-02-22 00:17:34 +0100
commit5256b396a984024a3815594847e4b4203faee836 (patch)
tree98eeba780482c020adb645482223f8110519c401 /git-hooks/templates.git/hooks/update
parent84a335d47a0b0e49f88447135d6d8ae60c198344 (diff)
Upgrade links to HTTPS
Convert http:// URLs to https:// when there is a 301-redirect from the former to the latter. There is no reason to leak data here :-) * Our own (sub-)domains: .libreoffice.org, .documentfoundation.org * .google.com * License headers: mozilla.org, gnu.org, apache.org This commit also upgrades git:// URLs (whether hosted at TDF or at FreeDesktop) to https://git.libreoffice.org . And same thing for GitHub-hosted repos. Change-Id: Ia129eb1448a5263153c4b7cc1d03699052540ba2 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88818 Reviewed-by: Guilhem Moulin <guilhem@libreoffice.org> Tested-by: Guilhem Moulin <guilhem@libreoffice.org>
Diffstat (limited to 'git-hooks/templates.git/hooks/update')
-rwxr-xr-xgit-hooks/templates.git/hooks/update2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/templates.git/hooks/update b/git-hooks/templates.git/hooks/update
index 944c06bd..20859026 100755
--- a/git-hooks/templates.git/hooks/update
+++ b/git-hooks/templates.git/hooks/update
@@ -134,6 +134,6 @@ else
fi
done
fi |
-mail -s "$subject" -a "X-Git-Repository: git://anongit.freedesktop.org/git/libreoffice/libcdr.git" \
+mail -s "$subject" -a "X-Git-Repository: https://git.libreoffice.org/libcdr" \
-a "List-Post: <mailto:libreoffice@lists.freedesktop.org>" $recipients
exit 0