Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make hacking on Git using an msysGit installer more firewall-friendly

Change the use of the git:// protocol for msysGit submodules to the
https:// protocol, so that developers behind firewalls who have
installed msysGit-netinstall or -fullinstall are not discouraged from
hacking on Git because 'git submodule update' fails to run.  Use the
https:// protocol instead of the http:// protocol so that the
developers are eventually able to push their changes back to origin.
The performance penalty for downgrading from the git:// protocol to the
https:// protocol is minimal, given that msysGit now uses a smart-HTTP-
aware Git.

Signed-off-by: Peter Klavins <klavins@netspace.net.au>
  • Loading branch information...
commit 3adfdaf09d48f600a3bcb179d8c412b9ed9e6d50 1 parent 663ecd2
Peter Klavins authored PKRoma committed
Showing with 5 additions and 5 deletions.
  1. +3 −3 .gitmodules
  2. +2 −2 share/msysGit/initialize.sh
View
6 .gitmodules
@@ -1,9 +1,9 @@
[submodule "git"]
path = git
- url = git://github.com/msysgit/git.git
+ url = https://github.com/msysgit/git.git
[submodule "html"]
path = doc/git/html
- url = git://github.com/gitster/git-htmldocs.git
+ url = https://github.com/gitster/git-htmldocs.git
[submodule "git-cheetah"]
path = src/git-cheetah
- url = git://github.com/msysgit/Git-Cheetah.git
+ url = https://github.com/msysgit/Git-Cheetah.git
View
4 share/msysGit/initialize.sh
@@ -7,7 +7,7 @@ test -d /git/.git || {
git init &&
git config core.autocrlf false &&
git remote add -f origin \
- git://github.com/msysgit/git &&
+ https://github.com/msysgit/git &&
if test ! -f /etc/full-git-sha1 ||
! git reset $(cat /etc/full-git-sha1)
then
@@ -23,7 +23,7 @@ test -d /.git || {
cd / &&
git init &&
git config core.autocrlf false &&
- git remote add -f origin git://github.com/msysgit/msysgit &&
+ git remote add -f origin https://github.com/msysgit/msysgit &&
if test ! -f /etc/full-msysgit-sha1 ||
! git reset $(cat /etc/full-msysgit-sha1)
then
Please sign in to comment.
Something went wrong with that request. Please try again.