summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/main.go b/main.go
index 92704e0..562565d 100644
--- a/main.go
+++ b/main.go
@@ -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()