Specify depth when updating submodules (#12588)

This commit is contained in:
Michael Simons 2021-11-11 08:22:24 -06:00 committed by GitHub
parent 28afaeb89a
commit 84217d6e27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,7 +170,7 @@
Condition="$(IsRootRepo) != 'true'" />
<Exec
Command="git submodule update --init --recursive"
Command="git submodule update --init --recursive --depth 1"
WorkingDirectory="$(TarballRepoSourceDir)" />
<!-- Remove the git objects folder to free up tarball space -->