summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-11 05:39:32 -0500
committerJeff Carr <[email protected]>2025-09-11 05:39:32 -0500
commit309fcffc867f321f02885f809fecac06edf1ed06 (patch)
tree4488f8369d3e0e55788215c4cb507f6060336bf6 /main.go
parent2471b1ea4c3fd17cd552bb9933d9e65cc529d8d8 (diff)
code to double check remote branches are in sync
Diffstat (limited to 'main.go')
-rw-r--r--main.go12
1 files changed, 1 insertions, 11 deletions
diff --git a/main.go b/main.go
index 9c2f9f8..c7db9d7 100644
--- a/main.go
+++ b/main.go
@@ -50,6 +50,7 @@ func main() {
me.pp = arg.MustParse(&argv)
me.forge = forgepb.Init()
+ me.forge.ScanGoSrc()
// initialize patches
doPatchInit()
@@ -93,17 +94,6 @@ func main() {
}
if argv.Clean != nil {
- me.forge.Config.Mode = forgepb.ForgeMode_CLEAN
- if argv.Clean.Repo != "" {
- log.Info("only looking at repo:", argv.Clean.Repo)
- okExit("")
- }
-
- if argv.Clean.GitReset != nil {
- doGitReset()
- okExit("reset")
- }
-
if err := doClean(); err != nil {
badExit(err)
}