diff options
Diffstat (limited to 'doFind.go')
| -rw-r--r-- | doFind.go | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -153,11 +153,6 @@ func findReposWithPatches() *gitpb.Repos { found := gitpb.NewRepos() for repo := range me.forge.Repos.IterByFullPath() { - if repo.GetTargetVersion() != "" { - // add everything that has a target version set - found.AppendByFullPath(repo) - continue - } if repo.IsDirty() { // always add dirty branches found.AppendByFullPath(repo) @@ -172,6 +167,11 @@ func findReposWithPatches() *gitpb.Repos { continue } + // ignore read-only repos for checks below here + if me.forge.Config.IsReadOnly(repo.GetGoPath()) { + continue + } + // show anything that differs between 'devel' & 'master' branches if repo.GetDevelVersion() != repo.GetMasterVersion() { // this repo.State code isn't great, but it got me here quickly @@ -186,11 +186,6 @@ func findReposWithPatches() *gitpb.Repos { continue } - // ignore read-only repos for checks below here - if me.forge.Config.IsReadOnly(repo.GetGoPath()) { - continue - } - // this is an old test to see if the current 'last tag' is accurate and should be removed if repo.GetLastTag() != repo.GetMasterVersion() { found.AppendByFullPath(repo) |
