quiet testing output
This commit is contained in:
parent
ae24f02bbb
commit
7285a7a8fb
|
@ -18,17 +18,17 @@ func doDirty() {
|
||||||
|
|
||||||
func straightCheckDirty() int {
|
func straightCheckDirty() int {
|
||||||
var count int
|
var count int
|
||||||
var total int
|
// var total int
|
||||||
now := time.Now()
|
// now := time.Now()
|
||||||
all := me.found.All()
|
all := me.found.All()
|
||||||
for all.Scan() {
|
for all.Scan() {
|
||||||
repo := all.Next()
|
repo := all.Next()
|
||||||
total += 1
|
// total += 1
|
||||||
if repo.IsDirty() {
|
if repo.IsDirty() {
|
||||||
count += 1
|
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
|
return count
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue