From c237484cfa320c19e51ce44d9d79401f6e382600 Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Mon, 1 Feb 2021 07:53:41 +0100 Subject: [PATCH] cirrus: increase git clone depth --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index cf4ebfd0..772e89da 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -17,9 +17,9 @@ clone_template: &CLONE_TEMPLATE yum install -y git fi if [ -z "$CIRRUS_PR" ]; then - git clone --depth=320 --branch=$CIRRUS_BRANCH https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR + git clone --branch=$CIRRUS_BRANCH https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR else - git clone --depth=320 https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR + git clone https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR fi cd $CIRRUS_WORKING_DIR if [ -n "$CIRRUS_PR" ]; then