зеркало из https://github.com/github/msysgit.git
Do not try to clone anything in /etc/profile
Now that we decided that GitMe, AKA Net installer (a minimal system which has just enough to clone msysgit.git and mingw/4msysgit.git, and will then build git) and a snapshot installer, which comes with all sources, but does not set up the repositories, /etc/profile is not the right place to do the cloning anymore. Sidenote: We plan to have three installers: 1) GitMe, AKA Net installer (minimal system to clone all) 2) msysGit, AKA full installer (full system, does not clone) 3) msysGitSnapshot (contains the build env, the sources, but no .git/) Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Родитель
64c2320cc8
Коммит
265f55866f
20
etc/profile
20
etc/profile
|
@ -63,26 +63,14 @@ cd "$HOME"
|
|||
|
||||
test -e .bash_profile && . .bash_profile
|
||||
|
||||
# Git specific stuff
|
||||
|
||||
test -e /bin/git.exe || {
|
||||
echo "Setting up git"
|
||||
|
||||
cd /git &&
|
||||
make install &&
|
||||
git init &&
|
||||
git config remote.origin.url git://repo.or.cz/git/mingw/4msysgit.git &&
|
||||
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' &&
|
||||
git config remote.mob.url \
|
||||
ssh://mob@repo.or.cz/srv/git/git/mingw/4msysgit.git &&
|
||||
git config remote.mob.fetch +refs/remote/mob:refs/remotes/origin/mob &&
|
||||
git config remote.mob.push master:mob &&
|
||||
echo &&
|
||||
echo "Fetching the MinGW repository from repo.or.cz" &&
|
||||
(git fetch ||
|
||||
(git config remote.origin.url \
|
||||
http://repo.or.cz/r/git/mingw/4msysgit.git &&
|
||||
git fetch)) &&
|
||||
git reset 382210f715c0e1ef7a19eb10977dae4265a2c88f
|
||||
|
||||
make install
|
||||
|
||||
case $? in
|
||||
0)
|
||||
MESSAGE="You are in the git working tree, and all is ready for you to hack."
|
||||
|
|
Загрузка…
Ссылка в новой задаче