Don't fetch tags unless specified in refspecs

This commit is contained in:
Joscha 2023-08-18 01:14:30 +02:00
parent af159fcf07
commit 153e891114

View file

@ -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 {