Browse Source
git sparse-checkout was only added in 2.25 (2020) [1]. Older git (1.7+) can handle a sparse checkout setting the .git/info/sparse-checkout data. We also clone with --filter=blob:none --no-checkout which downloads less from the host. [1] https://stackoverflow.com/a/13738951 (cherry picked from commit f787acf2587de1e8b5968f8b68b931ab659e9f01) (edited) edited: - remove --fitler as it's not supported in git 2.11.0 used by 3.0 Dockerscherry-pick-c5513cf9
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue