diff options
Diffstat (limited to 'repoNew.go')
| -rw-r--r-- | repoNew.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,7 +35,7 @@ func (f *Forge) NewGoRepo(gopath string, url string) (*gitpb.Repo, error) { if f.Config.IsReadOnly(repo.GetGoPath()) { repo.ReadOnly = true } - repo.Reload() + repo.ReloadCheck() return repo, nil } @@ -52,7 +52,7 @@ func (f *Forge) AddNamespaceDir(ns string, fullpath string) (*gitpb.Repo, error) } f.VerifyBranchNames(repo) - repo.Reload() + repo.ReloadCheck() // set the readonly flag based on the users' forge config if f.Config.IsReadOnly(repo.GetGoPath()) { |
