diff options
Diffstat (limited to 'doDirty.go')
| -rw-r--r-- | doDirty.go | 17 |
1 files changed, 4 insertions, 13 deletions
@@ -14,12 +14,11 @@ import ( func doDirty() { findAll() // select all the repos doCheckDirtyAndConfigSave() - me.found = new(gitpb.Repos) - findDirty() + found := findDirty() if argv.Verbose { - me.forge.PrintHumanTableDirty(me.found) + me.forge.PrintHumanTableDirty(found) } else { - me.forge.PrintHumanTable(me.found) + me.forge.PrintHumanTable(found) } } @@ -51,15 +50,7 @@ func doCheckDirty(repo *gitpb.Repo) error { func doCheckDirtyAndConfigSave() { start := straightCheckDirty() - // log.Info("before findAll()") - /* - all := me.found.All() - for all.Scan() { - repo := all.Next() - repo.CheckDirty() - } - */ - // this might work? + now := time.Now() me.forge.RillFuncError(doCheckDirty) end := straightCheckDirty() |
