summaryrefslogtreecommitdiff
path: root/repoNew.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-13 00:52:44 -0500
committerJeff Carr <[email protected]>2025-09-13 00:52:44 -0500
commitbc9509e43b3a0cbf24e3e354ffb840f4fdffe6b3 (patch)
tree595d299265c1654bf5d04b41b17c22f3979a40ba /repoNew.go
parentb21a47434e2806d7cfb882e319f9fd5a5d9867d8 (diff)
work on a better/faster Reload()
Diffstat (limited to 'repoNew.go')
-rw-r--r--repoNew.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repoNew.go b/repoNew.go
index 3a80511..db21181 100644
--- a/repoNew.go
+++ b/repoNew.go
@@ -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()) {