Skip to content

Commit bc7336c

Browse files
committed
Revert "WIP: try to work around clone failures"
This reverts commit 218701c because we fixed the `git clone` woes in Git for Windows' `tty-handles` branch. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent ab56f6f commit bc7336c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net-installer/setup-git-sdk.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@
3939
)
4040

4141
@REM now clone the Git sources, build it, and start an interactive shell
42-
@bash --login -c "mkdir -p /usr/src && cd /usr/src && counter=1; while test $counter -lt 5; do git clone -b @@GIT_BRANCH@@ -c core.autocrlf=false https://github.com/git-for-windows/git; status=$?; test $status = 0 && break; test $status = 128 || exit $status; counter=$(($counter+1)); done && cd git && make install; bash -i"
42+
@bash --login -c "mkdir -p /usr/src && cd /usr/src && git clone -b @@GIT_BRANCH@@ -c core.autocrlf=false https://github.com/git-for-windows/git && cd git && make install; bash -i"
4343

4444
@IF NOT ERRORLEVEL 0 bash --login -i

0 commit comments

Comments
 (0)