Permalink
Browse files

fixed JENKINS-20861

  • Loading branch information...
daspilker committed Jan 22, 2014
1 parent c72474c commit b600c428e68d7ff035f11b7f18adf62f51cd7479
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 b600c42

Please sign in to comment.