mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
tools: use --filter=blob:none to reduce initial network trafic for most of the git clone
commands, done by tools like oldv, gen_vc, fast_job, v translate
etc
This commit is contained in:
parent
ffdd5bb955
commit
d91c7f1b3b
8 changed files with 13 additions and 13 deletions
|
@ -82,7 +82,7 @@ pub fn clone_or_pull(remote_git_url string, local_worktree_path string) {
|
|||
scripting.run('git -C "${local_worktree_path}" pull --quiet ')
|
||||
} else {
|
||||
// Clone a fresh
|
||||
scripting.run('git clone --quiet "${remote_git_url}" "${local_worktree_path}" ')
|
||||
scripting.run('git clone --filter=blob:none --quiet "${remote_git_url}" "${local_worktree_path}" ')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue