quiet testing output
This commit is contained in:
parent
ae24f02bbb
commit
7285a7a8fb
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue