diff options
| -rw-r--r-- | doDirty.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -18,17 +18,17 @@ func doDirty() { func straightCheckDirty() int { var count int - var total int - now := time.Now() + // var total int + // now := time.Now() all := me.found.All() for all.Scan() { repo := all.Next() - total += 1 + // total += 1 if repo.IsDirty() { count += 1 } } - log.Printf("rill dirty check (%d dirty repos) (%d total repos) took:%s\n", count, total, shell.FormatDuration(time.Since(now))) + // log.Printf("rill dirty check (%d dirty repos) (%d total repos) took:%s\n", count, total, shell.FormatDuration(time.Since(now))) return count } |
