зеркало из https://github.com/github/msysgit.git
setup-msysgit: avoid using the dashed form
It has been deprecated for quite a while now... Besides, it does not seem to work here: ln: accessing `//installer-tmp/bin/git.exe': No such host or network path ln: accessing `//installer-tmp/bin/git.exe': No such host or network path ...
This commit is contained in:
Родитель
fe4c84aa02
Коммит
d77838e911
|
@ -77,7 +77,7 @@ echo
|
||||||
echo -------------------------------------------------------
|
echo -------------------------------------------------------
|
||||||
echo Checking out the msysgit @@MSYSGITBRANCH@@ branch
|
echo Checking out the msysgit @@MSYSGITBRANCH@@ branch
|
||||||
echo -------------------------------------------------------
|
echo -------------------------------------------------------
|
||||||
git-checkout -l -f -q -b @@MSYSGITBRANCH@@ origin/@@MSYSGITBRANCH@@ ||
|
git checkout -l -f -q -b @@MSYSGITBRANCH@@ origin/@@MSYSGITBRANCH@@ ||
|
||||||
error Couldn\'t checkout the @@MSYSGITBRANCH@@ branch!
|
error Couldn\'t checkout the @@MSYSGITBRANCH@@ branch!
|
||||||
mkdir -p .git/hooks &&
|
mkdir -p .git/hooks &&
|
||||||
cp share/msysGit/post-checkout-hook .git/hooks/post-checkout ||
|
cp share/msysGit/post-checkout-hook .git/hooks/post-checkout ||
|
||||||
|
@ -167,7 +167,7 @@ git init &&
|
||||||
git config remote.origin.url $GITCHEETAH_REPO_URL &&
|
git config remote.origin.url $GITCHEETAH_REPO_URL &&
|
||||||
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' &&
|
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' &&
|
||||||
git fetch origin &&
|
git fetch origin &&
|
||||||
git-checkout -l -f -q -b master origin/master ||
|
git checkout -l -f -q -b master origin/master ||
|
||||||
error "Could not update the submodule src/git-cheetah!"
|
error "Could not update the submodule src/git-cheetah!"
|
||||||
|
|
||||||
# Copy profile.d/*.sh if there is any
|
# Copy profile.d/*.sh if there is any
|
||||||
|
|
Загрузка…
Ссылка в новой задаче