summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--find.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/find.go b/find.go
index b1d335d..f3d03a6 100644
--- a/find.go
+++ b/find.go
@@ -233,6 +233,10 @@ func cloneReposWithPatches() *gitpb.Repos {
log.Info("pb thinks it has:", repo.Namespace, t.Refname)
}
} else {
+ log.Info("curbranch is doesn't exist. this'll cause all sorts of problems", THEBRANCH, repo.FullPath)
+ log.Info("checking out with force", repo.FullPath)
+ repo.CheckoutForce()
+ repo.RunVerbose([]string{"git", "branch"})
repo.ReloadForce()
me.forge.Repos.SaveSafe()
panic("stop. run 'forge fixer porcelein' and see what happens")