summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-07 20:28:40 -0600
committerJeff Carr <[email protected]>2025-01-07 20:28:40 -0600
commit33c556f95dad4e24e73638be93dbf2c93992d28e (patch)
treefb91a5e5ad5048574fbdab7227d27c4fdc351246 /main.go
parent51db8c4f0c6b794afefc20ae0c7dfa58c1ef3dcf (diff)
attempting to set pb repo state
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.go b/main.go
index 77cd01c..be2f0b6 100644
--- a/main.go
+++ b/main.go
@@ -62,7 +62,11 @@ func main() {
if argv.Checkout != nil {
if argv.Checkout.User != nil {
- me.forge.CheckoutUser()
+ if argv.Force {
+ me.forge.CheckoutUserForce()
+ } else {
+ me.forge.CheckoutUser()
+ }
me.forge = forgepb.Init()
me.found = new(gitpb.Repos)
argv.Checkout.User.findRepos()