summaryrefslogtreecommitdiff
path: root/findRepos.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-13 17:13:07 -0600
committerJeff Carr <[email protected]>2024-12-13 17:13:07 -0600
commit10cf50c39b19a0c023869bf2fbf27a3ec1996856 (patch)
treeaef6a224d937d0c922c119253045cd93237b6be0 /findRepos.go
parent2b090019a9149bf89f883c46786476ef8a827069 (diff)
git reset --hard optionv0.22.13
Diffstat (limited to 'findRepos.go')
-rw-r--r--findRepos.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/findRepos.go b/findRepos.go
index 3562802..453f904 100644
--- a/findRepos.go
+++ b/findRepos.go
@@ -69,23 +69,24 @@ func findFavorites() {
}
func findAll() {
- var configsave bool
all := me.forge.Repos.SortByGoPath()
for all.Scan() {
repo := all.Next()
+ me.found.AppendUniqueGoPath(repo)
if me.forge.Config.IsReadOnly(repo.GoPath) && !argv.FindReadOnly {
if repo.ReadOnly {
continue
}
log.Info("todo: ConfigSave() readonly flag on repo is wrong", repo.GoPath)
repo.ReadOnly = true
- configsave = true
+ configSave = true
continue
}
- me.found.AppendUniqueGoPath(repo)
- }
- if configsave {
- log.Info("should ConfigSave here")
- me.forge.Repos.ConfigSave()
}
+ /*
+ if configsave {
+ log.Info("should ConfigSave here")
+ me.forge.Repos.ConfigSave()
+ }
+ */
}