From 6dd81eadaa7fc08a03154c830077c793b4bfbbb7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 13 Oct 2025 06:52:57 -0500 Subject: try again --- find.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/find.go b/find.go index 19d0da5..b1d335d 100644 --- a/find.go +++ b/find.go @@ -213,10 +213,13 @@ func cloneReposWithPatches() *gitpb.Repos { if repo.GetUserVersion() == "" { // skip anything without a user branch THEBRANCH := repo.GetUserBranchName() - if repo.IsLocalBranch(repo.GetUserBranchName()) { + if repo.IsLocalBranch(THEBRANCH) { continue } - if repo.IsLocalBranchVerbose(repo.GetUserBranchName()) { + if repo.IsRemoteBranch(THEBRANCH) { + log.Info(repo.FullPath, "BRANCH IS REMOTE:", THEBRANCH) + } + if repo.IsLocalBranchVerbose(THEBRANCH) { log.Info(repo.FullPath, "BRANCH IS LOCAL:", THEBRANCH) // everthing is actually normal continue @@ -236,7 +239,7 @@ func cloneReposWithPatches() *gitpb.Repos { } // no user branch r := found.Clone(repo) - r.State = log.Sprintf("no br '%s'", repo.GetUserBranchName()) + r.State = log.Sprintf("no br '%s'", THEBRANCH) continue } if repo.GetUserVersion() == "uerr" { -- cgit v1.2.3