]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
a/workunits/rados/test_envlibrados_for_rocksdb.sh: git clone --depth 1
authorKefu Chai <kchai@redhat.com>
Tue, 20 Jun 2017 06:11:19 +0000 (14:11 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 22 Jun 2017 04:19:01 +0000 (12:19 +0800)
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 <kchai@redhat.com>
qa/workunits/rados/test_envlibrados_for_rocksdb.sh

index 189478e46e2a99b9c8d72c6c8f390d4fc7e56ac2..94580c234ca30ebd6eeaba37525a6aa7ca85f5db 100755 (executable)
@@ -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