diff options
| author | Jeff Carr <[email protected]> | 2025-09-13 00:52:44 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-13 00:52:44 -0500 |
| commit | bc9509e43b3a0cbf24e3e354ffb840f4fdffe6b3 (patch) | |
| tree | 595d299265c1654bf5d04b41b17c22f3979a40ba /repoNew.go | |
| parent | b21a47434e2806d7cfb882e319f9fd5a5d9867d8 (diff) | |
work on a better/faster Reload()
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()) { |
