Skip to content

Commit 7dee899

Browse files
author
Vladimir Kotal
committed
forgot native paths for the initial commit
1 parent bbb3ba8 commit 7dee899

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/GitRepository.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,8 @@ History getHistory(File file, String sinceRevision) throws HistoryException {
569569
treeWalk.setRecursive(true);
570570

571571
while (treeWalk.next()) {
572-
files.add(getDirectoryNameRelative() + "/" + treeWalk.getPathString());
572+
files.add(getDirectoryNameRelative() + File.separator +
573+
getNativePath(treeWalk.getPathString()));
573574
}
574575
}
575576
} else {

0 commit comments

Comments
 (0)