mirror of
https://github.com/vlang/v.git
synced 2025-09-17 11:26:17 -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{
|
VCS.git: VCSInfo{
|
||||||
dir: '.git'
|
dir: '.git'
|
||||||
args: struct {
|
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'
|
version: '--single-branch -b'
|
||||||
update: 'pull --recurse-submodules' // pulling with `--depth=1` leads to conflicts when the upstream has more than 1 new commits.
|
update: 'pull --recurse-submodules' // pulling with `--depth=1` leads to conflicts when the upstream has more than 1 new commits.
|
||||||
path: '-C'
|
path: '-C'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user