summaryrefslogtreecommitdiff
path: root/branches.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 /branches.go
parentb21a47434e2806d7cfb882e319f9fd5a5d9867d8 (diff)
work on a better/faster Reload()
Diffstat (limited to 'branches.go')
-rw-r--r--branches.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/branches.go b/branches.go
index 2f72127..a503a96 100644
--- a/branches.go
+++ b/branches.go
@@ -205,10 +205,10 @@ func (f *Forge) makeUserBranches() error {
}
func testReload(repo *gitpb.Repo) error {
- if !repo.DidRepoChange() {
+ if !repo.HasChanged() {
return nil
}
- repo.Reload()
+ repo.ReloadCheck()
return log.Errorf("repo changed")
}