summaryrefslogtreecommitdiff
path: root/doCommit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-21 18:31:26 -0600
committerJeff Carr <[email protected]>2025-02-21 18:31:26 -0600
commit1a255bdbf64f2cb0f87e532bed82cce42f77a741 (patch)
tree5496c1f2ec9f8482e5ae3f6c42d51b74cd7bc9f9 /doCommit.go
parent66e65c7a004eb37f01935ea13fd78dae7de21e7e (diff)
start deprecating me.found
Diffstat (limited to 'doCommit.go')
-rw-r--r--doCommit.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/doCommit.go b/doCommit.go
index 829340b..b7f6fde 100644
--- a/doCommit.go
+++ b/doCommit.go
@@ -15,9 +15,8 @@ func doCommit() {
if argv.All {
log.Info("do a commit everywhere")
doCheckDirtyAndConfigSave()
- me.found = new(gitpb.Repos)
- findDirty()
- all := me.found.All()
+ found := findDirty()
+ all := found.All()
for all.Scan() {
repo := all.Next()
log.Info("do a commit on repo", repo.GetGoPath())