summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doDev.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/doDev.go b/doDev.go
index 54ee5cf..843e4a5 100644
--- a/doDev.go
+++ b/doDev.go
@@ -27,9 +27,11 @@ func doDev() (string, error) {
}
found.Repos = append(found.Repos, repo)
if !repo.IsMasterBranch() {
- log.Info("you just be in the master branch")
- repo.State = "needs master branch"
- continue
+ if argv.Fix {
+ log.Info("you just be in the master branch to run --fix")
+ repo.State = "needs master branch"
+ continue
+ }
}
doFixDeleteUserBranches(repo, uremoteref)
}