Skip to content
Permalink
Browse files

[JENKINS-48061] final GitBranchSCMHead.getRef

let's not let anyone hijack branch for a non-branch
  • Loading branch information...
rsandell committed Mar 27, 2018
1 parent 79a5e1a commit ceabe36d1f379bad4e37573a9f6094e4e06e2525
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/jenkins/plugins/git/GitBranchSCMHead.java
@@ -44,7 +44,7 @@ public GitBranchSCMHead(@NonNull String name) {
}

@Override
public String getRef() {
public final String getRef() {
return Constants.R_HEADS + getName();
}

0 comments on commit ceabe36

Please sign in to comment.
You can’t perform that action at this time.