Skip to content

Commit d49e7c0

Browse files
committed
fixed entries list by wildcard
1 parent 7620a61 commit d49e7c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/scm4j/vcs/svn/SVNVCS.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,8 @@ public int compare(SVNDirEntry o1, SVNDirEntry o2) {
467467
});
468468
for (SVNDirEntry entry : entriesList) {
469469
if (entry.getKind() == SVNNodeKind.DIR && entry.getName().startsWith(folderPrefix)) {
470-
res.add((path.isEmpty() ? "" : StringUtils.appendIfMissing(lastFolder, "/")) + entry.getName());
470+
String branchName = (path.isEmpty() ? "" : StringUtils.appendIfMissing(lastFolder, "/")) + entry.getName();
471+
res.add(branchName);
471472
}
472473
}
473474

0 commit comments

Comments
 (0)