From 3aed41cc2babfcf113f0b31c578307b4ab7dd76f Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 11 Feb 2009 15:00:20 +0100 Subject: [PATCH] netinstall: also fetch tags If we do not fetch tags, the initial checkout of 4msysgit will fail. Signed-off-by: Johannes Schindelin --- share/msysGit-netinstall/setup-msysgit.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/msysGit-netinstall/setup-msysgit.sh b/share/msysGit-netinstall/setup-msysgit.sh index a14d7122..d7acf835 100644 --- a/share/msysGit-netinstall/setup-msysgit.sh +++ b/share/msysGit-netinstall/setup-msysgit.sh @@ -110,13 +110,13 @@ git init && git config core.autocrlf input && git config remote.junio.url $GIT_REPO_URL && git config remote.junio.fetch '+refs/heads/*:refs/remotes/junio/*' && -git fetch junio && +git fetch --tags junio && git config remote.mingw.url $MINGW_REPO_URL && git config remote.mingw.fetch '+refs/heads/*:refs/remotes/mingw/*' && -git fetch mingw && +git fetch --tags mingw && git config remote.origin.url $MINGW4MSYSGIT_REPO_URL && git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' && -git fetch origin && +git fetch --tags origin && if test -z "@@FOURMSYSGITBRANCH@@" then FOURMSYS=$(cd .. && git ls-tree HEAD git | -- 2.11.4.GIT