scripts/kernel-test: do shallow fetch
Instead of fetching the entire history, only fetch the most recent commit. Change-Id: I92d90c1451ff6abff2df3b1318b5194880e77f2e
This commit is contained in:
parent
2af9f16715
commit
ad154fc565
|
@ -39,7 +39,7 @@ prepare_git_repo() {
|
|||
fi
|
||||
fi
|
||||
|
||||
git fetch "$KERNEL_REMOTE_NAME"
|
||||
git fetch --depth=1 "$KERNEL_REMOTE_NAME"
|
||||
git checkout "$KERNEL_REMOTE_NAME/$KERNEL_BRANCH"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue