mirror of
https://github.com/vlang/v.git
synced 2025-09-16 19:06:24 -04:00
vpm: optimize performance by adding filter when cloning (#21216)
This commit is contained in:
parent
4056353381
commit
38353088e0
@ -23,7 +23,7 @@ const vcs_info = {
|
||||
VCS.git: VCSInfo{
|
||||
dir: '.git'
|
||||
args: struct {
|
||||
install: 'clone --depth=1 --recursive --shallow-submodules'
|
||||
install: 'clone --depth=1 --recursive --shallow-submodules --filter=blob:none --also-filter-submodules'
|
||||
version: '--single-branch -b'
|
||||
update: 'pull --recurse-submodules' // pulling with `--depth=1` leads to conflicts when the upstream has more than 1 new commits.
|
||||
path: '-C'
|
||||
|
Loading…
x
Reference in New Issue
Block a user