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(path)
|
||||||
.arg("fetch")
|
.arg("fetch")
|
||||||
.arg("--prune")
|
.arg("--prune")
|
||||||
|
.arg("--no-tags")
|
||||||
.arg("--")
|
.arg("--")
|
||||||
.arg(url);
|
.arg(url);
|
||||||
for refspec in refspecs {
|
for refspec in refspecs {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue