gotta log the reponame on cloned repos

This commit is contained in:
zach rice committed 2019-11-15 13:35:34 -06:00
1 parent ad2a64c82b
commit f8c054b879
3 files changed
+2 -5

No files matched your search

+2
View File
@@ -18,6 +18,7 @@ import (
"io"
"os"
"path"
"path/filepath"
"sync"
"time"
)
@@ -71,6 +72,7 @@ func (repo *Repo) Clone(cloneOption *git.CloneOptions) error {
if err != nil {
return err
}
repo.Name = filepath.Base(repo.Manager.Opts.Repo)
repo.Repository = repository
repo.Manager.RecordTime(manager.CloneTime(howLong(start)))