James Moger
2013-06-18 f2c4fa73e484e7abf70a2969def6fd79c3821284
Ignore orphaned .git folder in repositories folder (issue-256)
2 files modified
2 ■■■■■ changed files
releases.moxie 1 ●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/utils/JGitUtils.java 1 ●●●● patch | view | raw | blame | history
releases.moxie
@@ -31,6 +31,7 @@
     - Fixed AddIndexedBranch tool --branch parameter (issue 247)  
     - Improve NPE handling for hook script enumeration (issue-253)
     - Workaround missing commit information in blame page (JGit bug 374382, issue-254) 
     - Ignore orphan ".git" folder in the repositories root folder (issue-256)
    changes:
     - Improved error logging for servlet containers which provide a null contextFolder (issue 199)
src/main/java/com/gitblit/utils/JGitUtils.java
@@ -297,6 +297,7 @@
        list.addAll(getRepositoryList(repositoriesFolder.getAbsolutePath(), repositoriesFolder,
                onlyBare, searchSubfolders, depth, patterns));
        StringUtils.sortRepositorynames(list);
        list.remove(".git"); // issue-256
        return list;
    }