diff options
| author | Jeff Carr <[email protected]> | 2025-02-21 18:31:26 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-21 18:31:26 -0600 |
| commit | 1a255bdbf64f2cb0f87e532bed82cce42f77a741 (patch) | |
| tree | 5496c1f2ec9f8482e5ae3f6c42d51b74cd7bc9f9 /doDirty.go | |
| parent | 66e65c7a004eb37f01935ea13fd78dae7de21e7e (diff) | |
start deprecating me.found
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() |
