Permalink
Browse files

Merge pull request #191 from CoreMedia/JENKINS-20861

Fixed JENKINS-20861
  • Loading branch information...
ndeloof committed Jan 22, 2014
2 parents c72474c + b600c42 commit 4b4e3670c309dabba41b0aa26fa28ba9eada4b50
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main/java/hudson/plugins/git/GitSCMBackwardCompatibility.java
@@ -237,6 +237,9 @@ void readBackExtensionsFromLegacy() {
if (buildChooser!=null && buildChooser.getClass()!=DefaultBuildChooser.class) {
addIfMissing(new BuildChooserSetting(buildChooser));
}
if (isNotBlank(reference) || useShallowClone) {
addIfMissing(new CloneOption(useShallowClone, reference));
}
} catch (IOException e) {
throw new AssertionError(e); // since our extensions don't have any real Saveable
}

0 comments on commit 4b4e367

Please sign in to comment.