From 3d2f8fa0c1bfe3cddaf1e39a07f9f3955a9bfc1a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 13 Oct 2025 07:18:02 -0500 Subject: attempt to force checkout --- find.go | 4 ++++ 1 file changed, 4 insertions(+) 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") -- cgit v1.2.3