summaryrefslogtreecommitdiff
path: root/patch.Make.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-11 19:31:37 -0600
committerJeff Carr <[email protected]>2024-12-11 19:31:37 -0600
commitdae2653975b6db822633430a97adbb21b52a99ff (patch)
tree40e9fe53f9149ef090fb7bd40d2c77709b7904c8 /patch.Make.go
parent0235d4d0961d71acd3b678dad009d68713bb6621 (diff)
use 'all' instead of 'loop'
Diffstat (limited to 'patch.Make.go')
-rw-r--r--patch.Make.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/patch.Make.go b/patch.Make.go
index c2d1619..a71dff2 100644
--- a/patch.Make.go
+++ b/patch.Make.go
@@ -16,9 +16,9 @@ func (f *Forge) MakeDevelPatchSet() (*Patchs, error) {
}
defer os.RemoveAll(dir) // clean up
- loop := f.Repos.SortByGoPath()
- for loop.Scan() {
- repo := loop.Next()
+ all := f.Repos.SortByGoPath()
+ for all.Scan() {
+ repo := all.Next()
userb := repo.GetUserBranchName()
develb := repo.GetDevelBranchName()
@@ -47,9 +47,9 @@ func (f *Forge) MakePatchSet() (*Patchs, error) {
}
defer os.RemoveAll(dir) // clean up
- loop := f.Repos.SortByGoPath()
- for loop.Scan() {
- repo := loop.Next()
+ all := f.Repos.SortByGoPath()
+ for all.Scan() {
+ repo := all.Next()
userb := repo.GetUserBranchName()
develb := repo.GetDevelBranchName()