diff options
Diffstat (limited to 'doDirty.go')
| -rw-r--r-- | doDirty.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -12,7 +12,6 @@ import ( ) func doDirty() { - findAll() // select all the repos doCheckDirtyAndConfigSave() found := findDirty() if argv.Verbose { @@ -26,7 +25,7 @@ func straightCheckDirty() int { var count int // var total int // now := time.Now() - for repo := range me.found.IterAll() { + for repo := range me.forge.Repos.IterAll() { // total += 1 if repo.IsDirty() { count += 1 @@ -52,7 +51,7 @@ func doCheckDirtyAndConfigSave() { now := time.Now() me.forge.RillFuncError(doCheckDirty) end := straightCheckDirty() - log.Printf("dirty check (%d dirty repos) (%d total repos) took:%s\n", end, me.found.Len(), shell.FormatDuration(time.Since(now))) + log.Printf("dirty check (%d dirty repos) (%d total repos) took:%s\n", end, me.forge.Repos.Len(), shell.FormatDuration(time.Since(now))) if start != end { // todo: use internal forgepb configsave flag. should work? |
