summaryrefslogtreecommitdiff
path: root/doFix.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-13 05:01:34 -0500
committerJeff Carr <[email protected]>2025-10-13 05:01:34 -0500
commit44f6678e2c4c876412bc62cbe98ffbdc6da39303 (patch)
treefed0d57a4c9373c0868d650903416b79aa27c28f /doFix.go
parent63d3e2b4de574cc10b6624b3815ca54167b5156d (diff)
try to debug this wierd case
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()
}