|
@@ -85,6 +85,9 @@ func (repoInfo *RepoInfo) clone() error {
|
|
|
} else if repoInfo.path != "" {
|
|
} else if repoInfo.path != "" {
|
|
|
log.Infof("opening %s", opts.RepoPath)
|
|
log.Infof("opening %s", opts.RepoPath)
|
|
|
repo, err = git.PlainOpen(repoInfo.path)
|
|
repo, err = git.PlainOpen(repoInfo.path)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ log.Errorf("unable to open %s", opts.RepoPath)
|
|
|
|
|
+ }
|
|
|
} else {
|
|
} else {
|
|
|
// cloning to memory
|
|
// cloning to memory
|
|
|
log.Infof("cloning %s", opts.Repo)
|
|
log.Infof("cloning %s", opts.Repo)
|