summaryrefslogtreecommitdiff
path: root/doFix.go
diff options
context:
space:
mode:
Diffstat (limited to 'doFix.go')
-rw-r--r--doFix.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/doFix.go b/doFix.go
index df9b861..971bf2f 100644
--- a/doFix.go
+++ b/doFix.go
@@ -45,7 +45,10 @@ func doFix() (string, error) {
continue
}
log.Info("curbranch is doesn't exist. this'll cause all sorts of problems", curbranch, repo.FullPath)
+ log.Info("checking out with force", repo.FullPath)
repo.CheckoutForce()
+ repo.RunVerbose([]string{"git", "branch"})
+ panic("did this work?")
}
me.forge.Repos.Save()
}