summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" {