From: Sage Weil Date: Wed, 14 Dec 2016 17:19:44 +0000 (-0500) Subject: tasks/workunit.py: depth 1 clone X-Git-Tag: v10.2.6~165^2^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e6f61ea9f19d0f1fad4a6547775fa80616eeeb89;p=ceph.git tasks/workunit.py: depth 1 clone Signed-off-by: Sage Weil (cherry picked from commit 4faf77a649cb3f8ddf497ca81937b3dbf63a18dc) --- diff --git a/tasks/workunit.py b/tasks/workunit.py index d424b324110..6b9869efea5 100644 --- a/tasks/workunit.py +++ b/tasks/workunit.py @@ -314,6 +314,8 @@ def _run_tests(ctx, refspec, role, tests, env, subdir=None, timeout=None): args=[ 'git', 'clone', + '--depth', + '1', git_url, clonedir, run.Raw(';'),