3636echo -------------------------------------------------------
3737echo Fetching the latest MSys environment
3838echo -------------------------------------------------------
39- MSYSGIT_REPO_GIT=git://repo.or.cz/msysgit.git
40- MSYSGIT_REPO_GIT_MOB=ssh://
[email protected] /srv/git/msysgit.git
41- MSYSGIT_REPO_HTTP=http://repo.or.cz/r/msysgit.git
39+ MSYSGIT_REPO_GIT=git://github.com/msysgit/msysgit
40+ MSYSGIT_REPO_HTTP=https://github.com/msysgit/msysgit.git
4241
4342# Multiply git.exe
4443
4847 " $INSTALL_PATH /installer-tmp/bin/git-$builtin .exe"
4948done
5049
50+ git config --system http.sslCAinfo /bin/curl-ca-bundle.crt
5151git init &&
5252git config core.autocrlf false &&
5353git config remote.origin.url $MSYSGIT_REPO_GIT &&
5454git config remote.origin.fetch \
5555 +refs/heads/@@MSYSGITBRANCH@@:refs/remotes/origin/@@MSYSGITBRANCH@@ &&
5656git config branch.@@MSYSGITBRANCH@@.remote origin &&
5757git config branch.@@MSYSGITBRANCH@@.merge refs/heads/@@MSYSGITBRANCH@@ &&
58- git config remote.mob.url $MSYSGIT_REPO_GIT_MOB &&
59- git config remote.mob.fetch +refs/heads/@@MSYSGITBRANCH@@:refs/remotes/origin/mob &&
60- git config remote.mob.push HEAD:mob &&
6158
6259USE_HTTP=
6360git fetch || {
@@ -96,17 +93,16 @@ echo -------------------------------------------------------
9693
9794case " $USE_HTTP " in
9895t)
99- GIT_REPO_URL=http ://repo.or.cz/r /git.git/
96+ GIT_REPO_URL=https ://github.com/git /git.git
10097 MINGW_REPO_URL=http://repo.or.cz/r/git/mingw.git/
101- MINGW4MSYSGIT_REPO_URL=http ://repo.or.cz/r /git/mingw/4msysgit .git/
98+ MINGW4MSYSGIT_REPO_URL=https ://github.com/msysgit /git.git
10299;;
103100' ' )
104- GIT_REPO_URL=git://repo.or.cz /git. git
101+ GIT_REPO_URL=git://github.com /git/ git
105102 MINGW_REPO_URL=git://repo.or.cz/git/mingw.git
106- MINGW4MSYSGIT_REPO_URL=git://repo.or.cz/git/mingw/4msysgit. git
103+ MINGW4MSYSGIT_REPO_URL=git://github.com/msysgit/ git
107104;;
108105esac
109- MINGW4MSYSGIT_MOB_URL=ssh://
[email protected] /srv/git/git/mingw/4msysgit.git
110106
111107git config submodule.git.url $MINGW4MSYSGIT_REPO_URL &&
112108mkdir -p git &&
@@ -121,9 +117,6 @@ git config remote.mingw.fetch '+refs/heads/*:refs/remotes/mingw/*' &&
121117git fetch --tags mingw &&
122118git config remote.origin.url $MINGW4MSYSGIT_REPO_URL &&
123119git config remote.origin.fetch ' +refs/heads/*:refs/remotes/origin/*' &&
124- git config remote.mob.url $MINGW4MSYSGIT_MOB_URL &&
125- git config remote.mob.fetch ' +refs/heads/*:refs/remotes/origin/*' &&
126- git config remote.mob.push ' HEAD:mob' &&
127120git fetch --tags origin &&
128121if test -z " @@FOURMSYSGITBRANCH@@"
129122then
0 commit comments