summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-16 16:27:37 -0500
committerJeff Carr <[email protected]>2025-10-16 16:27:37 -0500
commit3fc1bb304ec83948f7f721814b1234b2c20d0ec8 (patch)
tree07192308f99659fa9213bdc5d845d39843a3aec1 /main.go
parent87da05b61634ad9ca33513139516b0e522a1014a (diff)
start doing more stuff in normal mode
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/main.go b/main.go
index 4bde514..9b1320b 100644
--- a/main.go
+++ b/main.go
@@ -66,7 +66,8 @@ func main() {
// if you are in "normal" mode, always run normal every time to catch accidental errors
// for example, if you accidentally changed branches from your user branch
if me.forge.Config.Mode == forgepb.ForgeMode_NORMAL {
- doNormal()
+ // show what is still normal and what is not
+ doNormalStatus()
}
if me.sh.Cmd == "" {
@@ -117,7 +118,12 @@ func main() {
}
if argv.Normal != nil {
- s, err = doNormal()
+ if me.forge.Config.Mode == forgepb.ForgeMode_NORMAL {
+ s, err = doNormalAll()
+ } else {
+ // attempt to switch into Normal mode
+ s, err = doNormalAttempt()
+ }
}
if argv.Merge != nil {