From c8c532a0e61b43ce0ccc59e4d99793e07d315e31 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 8 Dec 2016 10:04:44 +0200 Subject: [PATCH] Use shallow clone for binary artifacts The repo is deleted anyway right after the files are copied. Change-Id: Iec4ae3ca45e94c95a911f245bded36025d3f799b Reviewed-by: Eike Ziller --- qtcreator.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qtcreator.pro b/qtcreator.pro index e103d2b9b93..ebcd9d7223a 100644 --- a/qtcreator.pro +++ b/qtcreator.pro @@ -119,7 +119,8 @@ macx { deployqt.depends = install win32 { deployartifacts.depends = install - deployartifacts.commands = git clone "http://code.qt.io/qt-creator/binary-artifacts.git" -b $$BINARY_ARTIFACTS_BRANCH \ + deployartifacts.commands = git clone --depth 1 -b $$BINARY_ARTIFACTS_BRANCH \ + "http://code.qt.io/qt-creator/binary-artifacts.git" \ && xcopy /s /q /y /i "binary-artifacts\\win32" \"$(INSTALL_ROOT)$$QTC_PREFIX\" \ && rmdir /s /q binary-artifacts QMAKE_EXTRA_TARGETS += deployartifacts