sudo git config --global http.maxRequestBuffer 100M # default is 10MB
sudo git config --global core.compression 0
+# enable the debug logs for git clone
+export GIT_TRACE_PACKET=1
+export GIT_TRACE=1
+export GIT_CURL_VERBOSE=1
+
# try it again if the clone is slow and the second time
retried=false
trap -- 'retry' EXIT
trap - EXIT
cd ceph
+# disable the debug logs for git clone
+export GIT_TRACE_PACKET=0
+export GIT_TRACE=0
+export GIT_CURL_VERBOSE=0
+
versions=`seq 1 90`
for v in $versions