Revert "checkout-upstream: shallow cloning"

This reverts commit 8d6e1b9981.
That broke "git describe".
This commit is contained in:
Martin Pitt 2016-02-10 18:20:29 +01:00
parent 8d6e1b9981
commit c7d36e4e6d

View File

@ -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)