diff options
| -rw-r--r-- | find.go | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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" { |
