mirror of
https://github.com/Jguer/yay.git
synced 2025-12-15 00:05:43 -05:00
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:
parent
d9aa50b1f5
commit
a61eb0d568
@ -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)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user