summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 04:37:57 -0500
committerJeff Carr <[email protected]>2025-10-10 04:37:57 -0500
commit56869600e6d62729962699526807714124d46973 (patch)
tree81cfb9814e84ba82646f3299e409155e2b64eb77
parent0cfcc140f9d272c1b5eb620e05eaa4362909e8db (diff)
make something to recover from being on a nonexistant branch
-rw-r--r--doShow.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/doShow.go b/doShow.go
index 3d2a1b3..f114033 100644
--- a/doShow.go
+++ b/doShow.go
@@ -26,6 +26,7 @@ func doShow() (string, error) {
continue
}
log.Info("curbranch is doesn't exist. this'll cause all sorts of problems", curbranch, repo.FullPath)
+ repo.CheckoutForce()
}
me.forge.Repos.Save()
return s, err