diff options
author | Jim Meyering <meyering@meta.com> | 2023-02-04 21:47:04 -0800 |
---|---|---|
committer | Jim Meyering <meyering@meta.com> | 2023-02-04 21:47:04 -0800 |
commit | 86543b96309d3aab847a065baa79c8c970f98def (patch) | |
tree | e45bf6cd812717b57b297ab2f00c6e6138231984 | |
parent | 89f3daeaaf021a77177daec8666bcd80ec476833 (diff) | |
download | diffutils-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-- | .gitmodules | 2 | ||||
-rw-r--r-- | HACKING | 8 | ||||
-rw-r--r-- | README-hacking | 2 |
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 @@ -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 |