]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tasks/workunit.py: when cloning, use --depth=1
authorDan Mick <dan.mick@redhat.com>
Wed, 29 Mar 2017 03:08:13 +0000 (20:08 -0700)
committerKefu Chai <kchai@redhat.com>
Fri, 7 Apr 2017 05:29:48 +0000 (13:29 +0800)
commit6c14a803894d71bae858705855551a44bdf9bf67
treebb1e99a428c1584bc1b421f2bc815be9f1811f02
parenta64d3e4b33e904aa6585464df8ffff6aafdec10c
tasks/workunit.py: when cloning, use --depth=1

Help avoid killing git.ceph.com.  A depth 1 clone takes about
7 seconds, whereas a full one takes about 3:40 (much of it
waiting for the server to create a huge compressed pack)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit c1309fbef300a062138ac40eb5d3e5081b833072)
qa/tasks/workunit.py