summaryrefslogtreecommitdiff
path: root/repo.new.go
diff options
context:
space:
mode:
Diffstat (limited to 'repo.new.go')
-rw-r--r--repo.new.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo.new.go b/repo.new.go
index 8ebe78c..f229dcc 100644
--- a/repo.new.go
+++ b/repo.new.go
@@ -34,7 +34,7 @@ func (all *Repos) NewGoRepo(fullpath string, gopath string) (*Repo, error) {
// everything happens in here
newr.Reload()
- if all.AppendUniqueFullPath(&newr) {
+ if all.AppendByFullPath(&newr) {
// worked
return &newr, nil
} else {