James Moger
2011-05-19 00afd77a2182ece3d9522d41b86b4ddd7e132288
src/com/gitblit/utils/JGitUtils.java
@@ -63,12 +63,6 @@
public class JGitUtils {
   /** Prefix for notes refs */
   public static final String R_NOTES = "refs/notes/";
   /** Standard notes ref */
   public static final String R_NOTES_COMMITS = R_NOTES + "commits";
   private final static Logger LOGGER = LoggerFactory.getLogger(JGitUtils.class);
   public static Repository createRepository(File repositoriesFolder, String name, boolean bare) {
@@ -86,6 +80,9 @@
   public static List<String> getNestedRepositories(File repositoriesFolder, File folder, boolean exportAll, boolean readNested) {
      String basefile = repositoriesFolder.getAbsolutePath();
      List<String> list = new ArrayList<String>();
      if (folder == null || !folder.exists()) {
         return list;
      }
      for (File file : folder.listFiles()) {
         if (file.isDirectory() && !file.getName().equalsIgnoreCase(Constants.DOT_GIT)) {
            // if this is a git repository add it to the list