diff options
| author | Jeff Carr <[email protected]> | 2024-12-11 19:32:04 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-11 19:32:04 -0600 |
| commit | ada387b966b901055e87e5b7d7d4902246c4e69e (patch) | |
| tree | 57a3ad70fbf6b91d06830d8efabe0f572d808855 /subitPatches.go | |
| parent | 353290ecb1ba1f84e55cbcc23233055a26f7208f (diff) | |
'all' seems more sensible than 'loop'
Diffstat (limited to 'subitPatches.go')
| -rw-r--r-- | subitPatches.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/subitPatches.go b/subitPatches.go index ea1e099..bad9786 100644 --- a/subitPatches.go +++ b/subitPatches.go @@ -57,9 +57,9 @@ func submitPatchesBox(box *gui.Node) *patchSummary { s.grid.NewButton("Update Patch Counts", func() { var repocount, patchcount int // broken after move to forge protobuf - loop := me.forge.Repos.SortByGoPath() - for loop.Scan() { - repo := loop.Next() + all := me.forge.Repos.SortByGoPath() + for all.Scan() { + repo := all.Next() if repo.GetReadOnly() { continue } @@ -75,9 +75,9 @@ func submitPatchesBox(box *gui.Node) *patchSummary { repocount = 0 patchcount = 0 // broken after move to forge protobuf - loop = me.forge.Repos.SortByGoPath() - for loop.Scan() { - repo := loop.Next() + all = me.forge.Repos.SortByGoPath() + for all.Scan() { + repo := all.Next() if repo.GetReadOnly() { continue } @@ -189,9 +189,9 @@ func (s *patchSummary) Update() { var userT, develT, masterT int // var userP, develP, masterP int // broken after move to forge protobuf - loop := me.forge.Repos.SortByGoPath() - for loop.Scan() { - repo := loop.Next() + all := me.forge.Repos.SortByGoPath() + for all.Scan() { + repo := all.Next() total += 1 if repo.IsDirty() { dirty += 1 |
