summaryrefslogtreecommitdiff
path: root/doCheckout.go
diff options
context:
space:
mode:
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)
}