Navigation Menu

Skip to content

Commit

Permalink
JENKINS-25886: Change back unintented minor change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bue Petersen committed Dec 11, 2014
1 parent 3afb275 commit 70cc37d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -62,7 +62,7 @@ public void integrate(AbstractBuild<?,?> build, Launcher launcher, BuildListener
logger.fine("Finding remote branches");
for(Branch b : client.getRemoteBranches()) {
logger.fine(String.format("Found remote branch %s", b.getName()));
if(b.getSHA1String().equals(gitDataBranch.getSHA1String())) {
if(b.getName().equals(gitDataBranch.getName())) {
found = true;
break;
}
Expand Down
Expand Up @@ -68,7 +68,7 @@ public void integrate(AbstractBuild<?,?> build, Launcher launcher, BuildListener
logger.fine("Finding remote branches");
for(Branch b : client.getRemoteBranches()) {
logger.fine(String.format("Found remote branch %s", b.getName()));
if(b.getSHA1String().equals(gitDataBranch.getSHA1String())) {
if(b.getName().equals(gitDataBranch.getName())) {
found = true;
break;
}
Expand Down

0 comments on commit 70cc37d

Please sign in to comment.