summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/main.go b/main.go
index 0ebe1bc..1cd90a3 100644
--- a/main.go
+++ b/main.go
@@ -29,6 +29,10 @@ func main() {
me.forge = forgepb.Init()
me.found = new(gitpb.Repos)
+ if argv.Fix {
+ okExit("")
+ }
+
// first find the repos or gopaths to operate on
if argv.Config {
if findConfig() {
@@ -38,6 +42,7 @@ func main() {
} else {
findRepos()
}
+ // okExit("")
log.Info("found", me.found.Len(), "repos. found", len(me.foundPaths), "paths from .config/forge")
@@ -69,12 +74,6 @@ func main() {
done = true
}
- if argv.Fix {
- // print out the repos
- doFix()
- done = true
- }
-
if argv.DoPatchSet {
sendDevelDiff()
// sendMasterDiff()