summaryrefslogtreecommitdiff
path: root/newRepo.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-30 11:02:37 -0600
committerJeff Carr <[email protected]>2025-01-30 11:02:37 -0600
commitb91475b55b93a87aabb63e661a46d85c28623eb9 (patch)
treed9dd098e1ce66e47aa21fa6e41d61ee83658677b /newRepo.go
parent8247d748bd26be6eb87a978573b0d435e83178a1 (diff)
switching from the old way to using protobufv0.22.49v0.22.48v0.22.47v0.22.46v0.22.45v0.22.44
Diffstat (limited to 'newRepo.go')
-rw-r--r--newRepo.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/newRepo.go b/newRepo.go
index b9aabb9..fc5e191 100644
--- a/newRepo.go
+++ b/newRepo.go
@@ -111,11 +111,11 @@ func (r *RepoList) AddRepo(pb *gitpb.Repo) (*RepoRow, error) {
newRepo.Xterm("git diff; bash")
pb := newRepo.pb
pb.Reload()
- newRepo.NewScan()
+ newRepo.Update()
r.reposbox.Enable()
})
- newRepo.endBox.NewButton("commit all", func() {
+ newRepo.commitB = newRepo.endBox.NewButton("commit all", func() {
pb := newRepo.pb
if pb == nil {
log.Info("the protobuf is nil. something went wrong in the forge/gitpb mappings")
@@ -139,7 +139,7 @@ func (r *RepoList) AddRepo(pb *gitpb.Repo) (*RepoRow, error) {
pb.RunRealtimeVerbose([]string{"git", "restore", "--staged", "."})
}
pb.Reload()
- newRepo.NewScan()
+ newRepo.Update()
r.reposbox.Enable()
})