diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 16:27:37 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-16 16:27:37 -0500 |
| commit | 3fc1bb304ec83948f7f721814b1234b2c20d0ec8 (patch) | |
| tree | 07192308f99659fa9213bdc5d845d39843a3aec1 /main.go | |
| parent | 87da05b61634ad9ca33513139516b0e522a1014a (diff) | |
start doing more stuff in normal mode
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 { |
