summaryrefslogtreecommitdiff
path: root/doCheckout.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-13 01:46:53 -0500
committerJeff Carr <[email protected]>2025-09-13 01:46:53 -0500
commit20fe78266c87a57e40402769c00658da5aca569f (patch)
tree57ab0bc133105e9618c724c75a1541a4ae8f53ad /doCheckout.go
parentda0fc653aec4967fb30bbe6c5d635c018c8a9c39 (diff)
better "ForgeMode" handling
Diffstat (limited to 'doCheckout.go')
-rw-r--r--doCheckout.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/doCheckout.go b/doCheckout.go
index b5944e6..bbe0ac0 100644
--- a/doCheckout.go
+++ b/doCheckout.go
@@ -8,6 +8,7 @@ import (
"time"
"go.wit.com/lib/gui/shell"
+ "go.wit.com/lib/protobuf/forgepb"
"go.wit.com/log"
)
@@ -33,6 +34,8 @@ func doCheckout() error {
}
if argv.Checkout.Master != nil {
+ setForgeMode(forgepb.ForgeMode_MASTER) // disable "normal" mode if set
+
if err := me.forge.DoAllCheckoutMaster(); err != nil {
badExit(err)
}