quiet testing output

This commit is contained in:
Jeff Carr 2025-01-19 10:48:03 -06:00
parent ae24f02bbb
commit 7285a7a8fb
1 changed files with 4 additions and 4 deletions

View File

@ -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
}