summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-13 06:52:57 -0500
committerJeff Carr <[email protected]>2025-10-13 06:52:57 -0500
commit6dd81eadaa7fc08a03154c830077c793b4bfbbb7 (patch)
treee9a94e78099bfc36ac28d8a5f10620425fb45e32
parentea635c9b9daafce680552a342f9979c82c98fdb8 (diff)
try again
-rw-r--r--find.go9
1 files 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" {