Change default git repo URL to https
authorMagnus Hagander
Wed, 7 Feb 2018 10:03:55 +0000 (11:03 +0100)
committerMagnus Hagander
Wed, 7 Feb 2018 10:04:47 +0000 (11:04 +0100)
Since we now support the server side handler for git over https (so
we're no longer using the "dumb protocol"), make https the primary
choice for cloning the repository, and the git protocol the secondary
choice.

In passing, also change the links to git-scm.com from http to https.

Reviewed by Stefan Kaltenbrunner and David G.  Johnston

doc/src/sgml/sourcerepo.sgml

index dd9da5a7b0be134f459fb610f68d73aad5fea272..8b9ee7bf29e1a61009d1d9194d06ea622fdb892b 100644 (file)
@@ -41,7 +41,7 @@
    
     
      You will need an installed version of Git, which you can
-     get from . Many systems already
+     get from s://git-scm.com">. Many systems already
      have a recent version of Git installed by default, or
      available in their package distribution system.
     
@@ -52,7 +52,7 @@
      To begin using the Git repository, make a clone of the official mirror:
 
 
-git clone git://git.postgresql.org/git/postgresql.git
+git clone https://git.postgresql.org/git/postgresql.git
 
 
      This will copy the full repository to your local machine, so it may take
@@ -62,16 +62,13 @@ git clone git://git.postgresql.org/git/postgresql.git
     
 
     
-     The Git mirror can also be reached via the HTTP protocol, if for example
-     a firewall is blocking access to the Git protocol. Just change the URL
-     prefix to https, as in:
+     The Git mirror can also be reached via the Git protocol. Just change the URL
+     prefix to git, as in:
 
 
-git clone https://git.postgresql.org/git/postgresql.git
+git clone git://git.postgresql.org/git/postgresql.git
 
 
-     The HTTP protocol is less efficient than the Git protocol, so it will be
-     slower to use.
     
    
 
@@ -90,7 +87,7 @@ git fetch
   
    Git can do a lot more things than just fetch the source. For
    more information, consult the Git man pages, or see the
-   website at .
+   website at s://git-scm.com">.