summaryrefslogtreecommitdiff
path: root/subitPatches.go
diff options
context:
space:
mode:
Diffstat (limited to 'subitPatches.go')
-rw-r--r--subitPatches.go18
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