James Moger
2012-11-28 0ad6d9ea8d22dcf15cc9c29bb68a33c7b9309674
Fixed regression for folder history links (issue-166)
1 files modified
4 ■■■ changed files
src/com/gitblit/wicket/panels/HistoryPanel.java 4 ●●● patch | view | raw | blame | history
src/com/gitblit/wicket/panels/HistoryPanel.java
@@ -86,9 +86,11 @@
                tw.addTree(commit.getTree());
                tw.setFilter(PathFilterGroup.createFromStrings(Collections.singleton(path)));
                while (tw.next()) {
                    matchingPath = new PathChangeModel(tw.getPathString(), tw.getPathString(), 0, tw
                    if (tw.getPathString().equals(path)) {
                        matchingPath = new PathChangeModel(tw.getPathString(), tw.getPathString(), 0, tw
                            .getRawMode(0), tw.getObjectId(0).getName(), commit.getId().getName(),
                            ChangeType.MODIFY);
                    }
                }
            } catch (Exception e) {
            } finally {