summaryrefslogtreecommitdiff
path: root/find.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-13 07:18:02 -0500
committerJeff Carr <[email protected]>2025-10-13 07:18:02 -0500
commit3d2f8fa0c1bfe3cddaf1e39a07f9f3955a9bfc1a (patch)
tree8e086d1e8e2f44595ccfdfe1c7510de44386c9e4 /find.go
parent6dd81eadaa7fc08a03154c830077c793b4bfbbb7 (diff)
attempt to force checkout
Diffstat (limited to 'find.go')
-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")