diff options
Diffstat (limited to 'doGit.go')
| -rw-r--r-- | doGit.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -66,11 +66,17 @@ func doGit() (string, error) { if argv.Git.DeleteUntracked { initForge() + var totals, repos int for repo := range me.forge.Repos.IterAll() { if !strings.HasPrefix(repo.Namespace, "go.wit.com") { continue } files, _ := repo.GitDeleteOthers() + if len(files) == 0 { + continue + } + totals += len(files) + repos += 1 log.Info(len(files), repo.Namespace) log.Info(strings.Join(files, "\n")) if argv.Force { @@ -85,6 +91,7 @@ func doGit() (string, error) { } } } + log.Info("total files to delete:", totals, "in", repos, "repos") } return "todo: put something here", nil |
