diff options
| author | Jeff Carr <[email protected]> | 2025-01-19 10:48:03 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-19 10:48:03 -0600 |
| commit | 7285a7a8fbfc9c8565c4ced1de3e491953a001f5 (patch) | |
| tree | 6119ab810348b2b3305708a6f4e7e2b9beb94882 | |
| parent | ae24f02bbbfa0d746f44510e81f6944493c70647 (diff) | |
quiet testing output
| -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 } |
