Use no-progress when cloning packages

The output is annoying and takes up many lines. All AUR packages clone
extremley fast anyway, making the progress unneeded.
This commit is contained in:
morganamilo 2018-07-28 16:12:49 +01:00
parent d9aa50b1f5
commit a61eb0d568
No known key found for this signature in database
GPG Key ID: 6FE9E7996B0B082E

View File

@ -60,7 +60,7 @@ func gitHasDiff(path string, name string) (bool, error) {
func gitDownload(url string, path string, name string) (bool, error) {
_, err := os.Stat(filepath.Join(path, name, ".git"))
if os.IsNotExist(err) {
err = show(passToGit(path, "clone", url, name))
err = show(passToGit(path, "clone", "--no-progress", url, name))
if err != nil {
return false, fmt.Errorf("error cloning %s", name)
}