mirror of
https://github.com/Jguer/yay
synced 2024-09-14 13:51:12 +00:00
Merge pull request #595 from Morganamilo/noprogress
Use no-progress when cloning packages
This commit is contained in:
commit
6892ea153f
|
@ -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…
Reference in a new issue