diff options
| author | Jeff Carr <[email protected]> | 2025-08-16 18:58:52 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-16 18:58:52 -0500 |
| commit | 2bd007d0c054cedbdea14f743aa03bb46015d6c5 (patch) | |
| tree | bfd79027be226571e1d9a139315599c52633b52a /doPull.go | |
| parent | a21d17dda963eec946ca5f2e40d2a8a9aee9e009 (diff) | |
stub in something to check the versions
Diffstat (limited to 'doPull.go')
| -rw-r--r-- | doPull.go | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -71,6 +71,13 @@ func doGitPullNew() error { check = findReposWithPatches() } + if argv.Pull.Check != nil { + // TODO: never wrote this yet + // update, err := me.forge.CheckVersions() + // return err + return nil + } + if check.Len() == 0 { // check = doFind() check = findAll() @@ -79,6 +86,11 @@ func doGitPullNew() error { } me.forge.PrintHumanTableFull(check) + if argv.Pull.Dirty != nil { + log.Info("dirty count =", check.Len()) + return nil + } + found, err := me.forge.LookupPB(check) if err != nil { log.Info("LookupPB() failed", err, "len(check)=", check.Len()) |
