diff options
| author | Jeff Carr <[email protected]> | 2024-12-18 22:02:07 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-18 22:02:07 -0600 |
| commit | 9adb650b3ed1a64a5207da04fe3c7e80b10cddd6 (patch) | |
| tree | 7a042622e7288c77e50d966b26a36ecf1406fa21 /main.go | |
| parent | e30ef08c119ed4e539d3aac74c9d6010a95c9423 (diff) | |
add --dirtyv0.22.25
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -48,6 +48,27 @@ func main() { okExit("") } + if argv.Dirty { + all := me.forge.Repos.SortByFullPath() + for all.Scan() { + repo := all.Next() + dirty := repo.IsDirty() + if repo.CheckDirty() { + me.found.AppendUniqueGoPath(repo) + if !dirty { + configSave = true + } + } else { + if dirty { + configSave = true + } + } + } + doCobol() + me.forge.SetConfigSave(configSave) + okExit("") + } + /* // var count int all := me.forge.Repos.SortByFullPath() |
