diff options
Diffstat (limited to 'repo.new.go')
| -rw-r--r-- | repo.new.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/repo.new.go b/repo.new.go index 9d0f7ba..e9327d3 100644 --- a/repo.new.go +++ b/repo.new.go @@ -18,6 +18,9 @@ func (all *Repos) NewGoPath(basepath string, gopath string, url string) (*Repo, return nil, errors.New("blank gopath") } if r := all.FindByGoPath(gopath); r != nil { + log.Info("gitpb.NewGoPath() already has gopath", r.GoPath) + log.Info("gitpb.NewGoPath() already has FullPath", r.FullPath) + log.Info("gitpb.NewGoPath() already has URL", r.URL) // already had this gopath return r, errors.New("gitpb.NewGoPath() duplicate gopath " + gopath) } |
