summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-05 02:26:18 -0500
committerJeff Carr <[email protected]>2025-10-05 02:26:18 -0500
commit8f71f42d4668921d85a80b2bb6a71cb5e4eee1d9 (patch)
tree5e5839f5e47723ce17cfc9ad3288088b8c6c7218
parent87261a026e30c4f9d38ef92573a168b157f29755 (diff)
start returning functionalityv0.25.54
-rw-r--r--main.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.go b/main.go
index f756f92..ed371bb 100644
--- a/main.go
+++ b/main.go
@@ -8,8 +8,10 @@ package main
import (
"embed"
"strings"
+ "time"
"go.wit.com/lib/gui/prep"
+ "go.wit.com/lib/gui/shell"
"go.wit.com/lib/protobuf/forgepb"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
@@ -103,7 +105,15 @@ func main() {
log.Info("you are already in the normal state")
okExit("")
}
+ start := time.Now()
+ err := me.forge.DoAllCheckoutUser(argv.Force)
+ dur := time.Since(start)
+ log.Printf("Checked out %d user braches in %s\n", me.forge.Repos.Len(), shell.FormatDuration(dur))
+ if err != nil {
+ me.sh.BadExit("not everything on user braches", err)
+ }
setForgeMode(forgepb.ForgeMode_NORMAL)
+ okExit("")
log.Info("normal mode on")
okExit("")
}