diff options
| author | Jeff Carr <[email protected]> | 2025-02-07 19:10:37 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-07 19:10:37 -0600 |
| commit | 1dd4a2d97966196dd1ed3a762bd501c0b3288d61 (patch) | |
| tree | dc22e34c24b653aa183903b5117ee5f478a93cfc /find.go | |
| parent | 1d89d38bc3effde9c56a713ca3ce00302acc511e (diff) | |
minor fixesv0.22.72
Diffstat (limited to 'find.go')
| -rw-r--r-- | find.go | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -20,11 +20,6 @@ func (f *FindCmd) findRepos() { return } - if f.Pub != nil { - findPublishable() - return - } - if f.All { findAll() return @@ -137,13 +132,20 @@ func findReposWithPatches() { all := me.forge.Repos.SortByFullPath() for all.Scan() { repo := all.Next() - if repo.GetUserVersion() == "" || repo.GetUserVersion() == "uerr" { + if repo.GetTargetVersion() != "" { + // add everything that has a target version set + me.found.AppendByGoPath(repo) continue } if repo.IsDirty() { + // always add dirty branches me.found.AppendByGoPath(repo) continue } + if repo.GetUserVersion() == "" || repo.GetUserVersion() == "uerr" { + // skip anything without a user branch + continue + } if repo.GetUserVersion() != repo.GetDevelVersion() { me.found.AppendByGoPath(repo) continue |
