mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05: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:
parent
34d0e5b7d6
commit
679457373a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user