mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-11 11:06:50 +00:00
Revert "checkout-upstream: shallow cloning"
This reverts commit 8d6e1b9981.
That broke "git describe".
This commit is contained in:
parent
8d6e1b9981
commit
c7d36e4e6d
4
debian/extra/checkout-upstream
vendored
4
debian/extra/checkout-upstream
vendored
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user