summaryrefslogtreecommitdiff
path: root/newRepo.go
diff options
context:
space:
mode:
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()
})