summaryrefslogtreecommitdiff
path: root/doPull.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-08 00:06:55 -0500
committerJeff Carr <[email protected]>2025-09-08 00:06:55 -0500
commitc55e8072625fada8196bafe15e167252ae215759 (patch)
tree7bff2641edd8222a1ea016d06847aa391874edc0 /doPull.go
parent2c7d1de63778214fd355deef61680d7e18e4a275 (diff)
fixed pullv0.22.148
Diffstat (limited to 'doPull.go')
-rw-r--r--doPull.go12
1 files changed, 11 insertions, 1 deletions
diff --git a/doPull.go b/doPull.go
index e2d33ae..60139ab 100644
--- a/doPull.go
+++ b/doPull.go
@@ -18,8 +18,18 @@ func doPull() error {
log.Info("you must check out the devel or master branches")
return nil
}
+
if argv.Force == true {
- log.Info("okay. you have forced the issue")
+ now := time.Now()
+ stats := me.forge.RillFuncError(rillPull)
+ count := me.forge.RillReload()
+ if count != 0 {
+ me.forge.ConfigSave()
+ }
+
+ total, count, nope, _ := me.forge.IsEverythingOnMaster()
+ log.Printf("Master branch check. %d total repos. (%d git pulled) (%d not on master branch) (%s) git pull total=FIXME%d\n", total, count, nope, shell.FormatDuration(time.Since(now)), len(stats))
+ return nil
}
// stats := me.forge.RillFuncError(rillPull)