From 952c9d9ba5ba31213328cc450dec54395cb580e1 Mon Sep 17 00:00:00 2001 From: Andrey Tykhonov Date: Mon, 19 Oct 2015 14:13:41 +0300 Subject: [PATCH] Make repository cloning a bit faster This change makes test execution a bit faster. Change-Id: Ie46b6ee0a62d4f6fd40f199b7da03e8ac814ad32 Closes-bug: #1507535 --- tools/prepare_nailgun.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/prepare_nailgun.sh b/tools/prepare_nailgun.sh index 6031f45..e9ff4f2 100644 --- a/tools/prepare_nailgun.sh +++ b/tools/prepare_nailgun.sh @@ -121,7 +121,7 @@ obtain_nailgun() { err "Obtaining Nailgun with the revision $FUEL_COMMIT" if [[ "$FUEL_WEB_CLONE" == "yes" ]]; then - git clone $FUEL_WEB_REPO $FUEL_WEB_ROOT || \ + git clone --depth 1 $FUEL_WEB_REPO $FUEL_WEB_ROOT || \ { err "Failed to clone Nailgun"; exit 1; } fi