We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc992e6 commit a574ed8Copy full SHA for a574ed8
opengrok-indexer/src/test/java/org/opengrok/indexer/history/FileHistoryCacheTest.java
@@ -716,6 +716,8 @@ void testRenamedFileHistoryWithPerPartes(int maxCount) throws Exception {
716
}
717
File barFile = new File(repositoryRoot, "bar.txt");
718
719
+ // Looks like the file needs to have content of some length for the add/rm below
720
+ // to be detected as file rename by the [J]Git heuristics.
721
try (FileOutputStream fos = new FileOutputStream(fooFile)) {
722
fos.write("foo bar foo bar foo bar".getBytes(StandardCharsets.UTF_8));
723
0 commit comments