fixed pull
This commit is contained in:
parent
2c7d1de637
commit
c55e807262
12
doPull.go
12
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)
|
||||
|
|
Loading…
Reference in New Issue