diff options
| author | Jeff Carr <[email protected]> | 2025-01-30 11:02:37 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-30 11:02:37 -0600 |
| commit | b91475b55b93a87aabb63e661a46d85c28623eb9 (patch) | |
| tree | d9dd098e1ce66e47aa21fa6e41d61ee83658677b /newRepo.go | |
| parent | 8247d748bd26be6eb87a978573b0d435e83178a1 (diff) | |
Diffstat (limited to 'newRepo.go')
| -rw-r--r-- | newRepo.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() }) |
