From 7285a7a8fbfc9c8565c4ced1de3e491953a001f5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 19 Jan 2025 10:48:03 -0600 Subject: [PATCH] quiet testing output --- doDirty.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doDirty.go b/doDirty.go index 296d852..b852aa7 100644 --- a/doDirty.go +++ b/doDirty.go @@ -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 }