summaryrefslogtreecommitdiff
path: root/doCommon.go
diff options
context:
space:
mode:
Diffstat (limited to 'doCommon.go')
-rw-r--r--doCommon.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/doCommon.go b/doCommon.go
index 1a2a3aa..eb48c04 100644
--- a/doCommon.go
+++ b/doCommon.go
@@ -35,12 +35,14 @@ func doGitPull() {
}
func doCheckDirtyAndConfigSave() {
+ var count int
now := time.Now()
all := me.found.SortByFullPath()
for all.Scan() {
repo := all.Next()
dirty := repo.IsDirty()
if repo.CheckDirty() {
+ count += 1
me.found.AppendUniqueGoPath(repo)
if !dirty {
configSave = true
@@ -51,7 +53,7 @@ func doCheckDirtyAndConfigSave() {
}
}
}
- log.Info("dirty check took:", shell.FormatDuration(time.Since(now)))
+ log.Printf("dirty check %d took:%s\n", count, shell.FormatDuration(time.Since(now)))
me.forge.SetConfigSave(configSave)
}