Implement new limit/offset rule for git and svn

Directories shall no longer be taken into account for limit/offset
calculations.
This commit is contained in:
Rene Pfeuffer
2020-03-03 17:06:55 +01:00
parent fa80c83109
commit cf43e3bc84
4 changed files with 11 additions and 8 deletions

View File

@@ -280,7 +280,7 @@ public class GitBrowseCommandTest extends AbstractGitCommandTestBase {
Collection<FileObject> foList = root.getChildren();
assertThat(foList).extracting("name").contains("f.txt");
assertThat(foList).extracting("name").containsExactly("f.txt");
assertFalse("result should not be marked as trunctated", root.isTruncated());
}