From c7d36e4e6dc7587a671df58dbbf4ff3853a0ce44 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 10 Feb 2016 18:20:29 +0100 Subject: [PATCH] Revert "checkout-upstream: shallow cloning" This reverts commit 8d6e1b9981a502130203dcae441596c2b64df6ce. That broke "git describe". --- debian/extra/checkout-upstream | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/extra/checkout-upstream b/debian/extra/checkout-upstream index 0f49df49c..61ebea763 100755 --- a/debian/extra/checkout-upstream +++ b/debian/extra/checkout-upstream @@ -14,7 +14,7 @@ if [ -z "${TEST_UPSTREAM:-}" ]; then exit 1 fi if [ -n "${UPSTREAM_PULL_REQUEST:-}" ]; then - FETCH="git fetch -fu --depth=1 origin refs/pull/$UPSTREAM_PULL_REQUEST/head:pr" + FETCH="git fetch -fu origin refs/pull/$UPSTREAM_PULL_REQUEST/head:pr" CO='git checkout pr' DESC="PR #$UPSTREAM_PULL_REQUEST" elif [ -n "${UPSTREAM_HEAD:-}" ]; then @@ -28,7 +28,7 @@ fi mkdir -p debian/tmp (cd debian/tmp - git clone --depth=1 https://github.com/systemd/systemd.git upstream + git clone https://github.com/systemd/systemd.git upstream cd upstream $FETCH $CO)