diff options
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 |
