John Crygier
2012-05-04 ef4a4558ee259e64b1038b69505556a248eeb775
src/com/gitblit/GitBlit.java
@@ -859,9 +859,9 @@
               "gitblit", null, "indexBranch")));
         
         // Custom defined properties
         model.userDefinedProperties = new HashMap<String, String>();
         model.customDefinedProperties = new HashMap<String, String>();
         for (String aProperty : config.getNames(Constants.CUSTOM_DEFINED_PROP_SECTION, Constants.CUSTOM_DEFINED_PROP_SUBSECTION)) {
            model.userDefinedProperties.put(aProperty, config.getString(Constants.CUSTOM_DEFINED_PROP_SECTION, Constants.CUSTOM_DEFINED_PROP_SUBSECTION, aProperty));
            model.customDefinedProperties.put(aProperty, config.getString(Constants.CUSTOM_DEFINED_PROP_SECTION, Constants.CUSTOM_DEFINED_PROP_SUBSECTION, aProperty));
         }
      }
      model.HEAD = JGitUtils.getHEADRef(r);
@@ -1111,7 +1111,7 @@
      updateList(config, "indexBranch", repository.indexedBranches);
      
      // User Defined Properties
      for (Entry<String, String> singleProperty : repository.userDefinedProperties.entrySet()) {
      for (Entry<String, String> singleProperty : repository.customDefinedProperties.entrySet()) {
         config.setString(Constants.CUSTOM_DEFINED_PROP_SECTION, Constants.CUSTOM_DEFINED_PROP_SUBSECTION, singleProperty.getKey(), singleProperty.getValue());
      }