pkd/debian: Clone full git branch to make 'git am -3' work

The 'git am -3' command fails for shallow clones. Let's clone the repo
with '--single-branch' instead, which will fetch the full history of the
cloned branch, but will not fetch other branches.
This commit is contained in:
Maximilian Luz 2021-08-01 16:19:00 +02:00
parent eada9d6daa
commit 365b15f8ef
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ jobs:
# get ubuntu mainline source
# see https://kernel.ubuntu.com/~kernel-ppa/mainline
git clone "$MAINLINE_REPO" --branch "$MAINLINE_BRANCH/v$KERNEL_VERSION" --depth 1 linux
git clone "$MAINLINE_REPO" --branch "$MAINLINE_BRANCH/v$KERNEL_VERSION" --single-branch
cd linux

View file

@ -43,7 +43,7 @@ jobs:
# get ubuntu mainline source
# see https://kernel.ubuntu.com/~kernel-ppa/mainline
git clone "$MAINLINE_REPO" --branch "$MAINLINE_BRANCH/v$KERNEL_VERSION" --depth 1 linux
git clone "$MAINLINE_REPO" --branch "$MAINLINE_BRANCH/v$KERNEL_VERSION" --single-branch
cd linux