summaryrefslogtreecommitdiff
path: root/scanRepoDir.go
diff options
context:
space:
mode:
Diffstat (limited to 'scanRepoDir.go')
-rw-r--r--scanRepoDir.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/scanRepoDir.go b/scanRepoDir.go
index c9c6d78..881067c 100644
--- a/scanRepoDir.go
+++ b/scanRepoDir.go
@@ -175,15 +175,17 @@ func gitDirectoriesNew(srcDir string) ([]string, error) {
log.Info("WARNING:")
log.Info("WARNING: you have files that are untracked by .git repos here")
log.Info("WARNING:")
- log.Printf("WARNING: you have %d untracked files %d paths\n", len(untracked), len(dirs))
count := 0
for _, file := range untracked {
- log.Info(file)
+ log.Info("WARNING:", file)
if count > 7 {
break
}
count += 1
}
+ log.Info("WARNING:")
+ log.Printf("WARNING: you have %d untracked files %d paths\n", len(untracked), len(dirs))
+ log.Info("WARNING:")
}
return all, err
}