Don't fetch tags unless specified in refspecs
This commit is contained in:
parent
af159fcf07
commit
153e891114
1 changed files with 1 additions and 0 deletions
|
|
@ -112,6 +112,7 @@ pub fn fetch(path: &Path, url: &str, refspecs: &[String]) -> Result<Output, Erro
|
|||
.arg(path)
|
||||
.arg("fetch")
|
||||
.arg("--prune")
|
||||
.arg("--no-tags")
|
||||
.arg("--")
|
||||
.arg(url);
|
||||
for refspec in refspecs {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue