Merge pull request #595 from Morganamilo/noprogress

Use no-progress when cloning packages
This commit is contained in:
Anna 2018-07-28 16:15:34 +01:00 committed by GitHub
commit 6892ea153f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)
}