From 5c6bbcdbb2938488c37a9e18b713179ee9340ab8 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 6 Sep 2025 21:50:43 -0500 Subject: cli user interface --- doFind.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doFind.go') diff --git a/doFind.go b/doFind.go index b100ecd..6aaaeb2 100644 --- a/doFind.go +++ b/doFind.go @@ -170,6 +170,14 @@ func findReposWithPatches() *gitpb.Repos { // 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 + // I'll defend my code by saying it's faster for me if I do dumb things + // sometimes and fix them later. Probably some employee will have to + // fix this. if that is the case I owe you lunch. or stock options + if repo.State == "DEVEL behind MASTER" { + // log.Info("repo state", repo.FullPath, repo.State) + continue + } found.AppendByFullPath(repo) continue } -- cgit v1.2.3