diff options
author | James Moger <james.moger@gitblit.com> | 2013-10-16 13:14:30 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-10-16 13:14:30 -0400 |
commit | 1feb04e5a907d06b2bf632395ba8d164931c0904 (patch) | |
tree | ab94e232b18b3a96593dca27a5d89ddab4da841d /src/main/java | |
parent | 9996f7217ea381d8e23755b3036f052cbdce6f3a (diff) | |
download | gitblit-1feb04e5a907d06b2bf632395ba8d164931c0904.tar.gz gitblit-1feb04e5a907d06b2bf632395ba8d164931c0904.zip |
Fix Markdown document enumeraton
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/gitblit/utils/JGitUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/utils/JGitUtils.java b/src/main/java/com/gitblit/utils/JGitUtils.java index ecc63592..be2860de 100644 --- a/src/main/java/com/gitblit/utils/JGitUtils.java +++ b/src/main/java/com/gitblit/utils/JGitUtils.java @@ -1049,10 +1049,10 @@ public class JGitUtils { List<TreeFilter> suffixFilters = new ArrayList<TreeFilter>();
for (String extension : extensions) {
if (extension.charAt(0) == '.') {
- suffixFilters.add(PathSuffixFilter.create("\\" + extension));
+ suffixFilters.add(PathSuffixFilter.create(extension));
} else {
// escape the . since this is a regexp filter
- suffixFilters.add(PathSuffixFilter.create("\\." + extension));
+ suffixFilters.add(PathSuffixFilter.create("." + extension));
}
}
TreeFilter filter;
|