summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@meta.com>2023-02-04 21:47:04 -0800
committerJim Meyering <meyering@meta.com>2023-02-04 21:47:04 -0800
commit86543b96309d3aab847a065baa79c8c970f98def (patch)
treee45bf6cd812717b57b297ab2f00c6e6138231984
parent89f3daeaaf021a77177daec8666bcd80ec476833 (diff)
downloaddiffutils-86543b96309d3aab847a065baa79c8c970f98def.tar.gz
maint: prefer https: to git:
The idea is to defend against some adversary-in-the-middle attacks. Also prefer git.savannah.gnu.org over its shorter alias, git.sv.gnu.org to avoid a warning e.g., from git clone. Also, drop any final ".git" suffix on the resulting URIs. Inspired by Paul Eggert's nearly identical changes to coreutils.
-rw-r--r--.gitmodules2
-rw-r--r--HACKING8
-rw-r--r--README-hacking2
3 files changed, 6 insertions, 6 deletions
diff --git a/.gitmodules b/.gitmodules
index acb2669..4c537e6 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
[submodule "gnulib"]
path = gnulib
- url = git://git.sv.gnu.org/gnulib.git
+ url = https://git.savannah.gnu.org/git/gnulib
diff --git a/HACKING b/HACKING
index 41f0d02..8d3cdc0 100644
--- a/HACKING
+++ b/HACKING
@@ -20,7 +20,7 @@ Use the latest upstream sources
Base any changes you make on the latest upstream sources.
You can get a copy of the latest with this command:
- git clone git://git.sv.gnu.org/diffutils
+ git clone https://git.savannah.gnu.org/git/diffutils
That downloads the entire repository, including revision control history
dating back to 1991. The repository (the part you download, and which
@@ -94,7 +94,7 @@ Make your changes on a private "topic" branch
=============================================
So you checked out diffutils like this:
- git clone git://git.sv.gnu.org/diffutils
+ git clone https://git.savannah.gnu.org/git/diffutils
Now, cd into the diffutils/ directory and run:
@@ -438,12 +438,12 @@ The forms to choose from are in gnulib's doc/Copyright/ directory.
If you want to assign a single change, you should use the file,
doc/Copyright/request-assign.changes:
- http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=doc/Copyright/request-assign.changes;hb=HEAD
+ http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=doc/Copyright/request-assign.changes;hb=HEAD
If you would like to assign past and future contributions to a project,
you'd use doc/Copyright/request-assign.future:
- http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=doc/Copyright/request-assign.future;hb=HEAD
+ http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=doc/Copyright/request-assign.future;hb=HEAD
You may make assignments for up to four projects at a time.
diff --git a/README-hacking b/README-hacking
index e3e6a0b..3d95d10 100644
--- a/README-hacking
+++ b/README-hacking
@@ -27,7 +27,7 @@ few prerequisites, later, a plain 'git pull && make' typically suffices.
You can get a copy of the source repository like this:
- $ git clone git://git.sv.gnu.org/<packagename>
+ $ git clone https://git.savannah.gnu.org/git/<packagename>
$ cd <packagename>
where '<packagename>' stands for 'coreutils' or whatever other package