Skip to content

Commit

Permalink
[JENKINS-43507] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Jul 5, 2017
1 parent d7c3ece commit af3d6fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/jenkins/plugins/git/GitSCMSource.java
Expand Up @@ -174,7 +174,7 @@ public GitSCMSource(String id, String remote, String credentialsId, String remot
this.remote = remote;
this.credentialsId = credentialsId;
List<SCMSourceTrait> traits = new ArrayList<>();
this.traits.add(new BranchDiscoveryTrait());
traits.add(new BranchDiscoveryTrait());
if (!DEFAULT_INCLUDES.equals(includes) || !DEFAULT_EXCLUDES.equals(excludes)) {
traits.add(new WildcardSCMHeadFilterTrait(includes, excludes));
}
Expand Down

0 comments on commit af3d6fd

Please sign in to comment.