From: Kefu Chai Date: Tue, 20 Jun 2017 06:11:19 +0000 (+0800) Subject: a/workunits/rados/test_envlibrados_for_rocksdb.sh: git clone --depth 1 X-Git-Tag: v12.1.1~310^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5d252a27a1f9cbacbb91d205d24f98aa961ef149;p=ceph-ci.git a/workunits/rados/test_envlibrados_for_rocksdb.sh: git clone --depth 1 no need to clone the whole history of rocksdb, we just need the HEAD of master. so "--depth 1" is better and faster in this case. Signed-off-by: Kefu Chai --- diff --git a/qa/workunits/rados/test_envlibrados_for_rocksdb.sh b/qa/workunits/rados/test_envlibrados_for_rocksdb.sh index 189478e46e2..94580c234ca 100755 --- a/qa/workunits/rados/test_envlibrados_for_rocksdb.sh +++ b/qa/workunits/rados/test_envlibrados_for_rocksdb.sh @@ -67,7 +67,7 @@ echo "Compile rocksdb" if [ -e rocksdb ]; then rm -fr rocksdb fi -git clone https://github.com/facebook/rocksdb.git +git clone https://github.com/facebook/rocksdb.git --depth 1 # compile code cd rocksdb