mirror of
https://github.com/brl/mutter.git
synced 2025-07-09 20:27:15 +00:00
tests/kvm: Use git fetch --depth=1
Otherwise it fetches the full history of the target tag, which is a lot of data for the Linux kernel. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3141>
This commit is contained in:
@ -48,7 +48,7 @@ set -x
|
||||
|
||||
if [ -d linux ]; then
|
||||
pushd linux
|
||||
git fetch $REPO $BRANCH_OR_TAG
|
||||
git fetch --depth=1 $REPO $BRANCH_OR_TAG
|
||||
git checkout FETCH_HEAD
|
||||
else
|
||||
git clone --depth=1 --branch=$BRANCH_OR_TAG $REPO linux
|
||||
|
Reference in New Issue
Block a user