fix get content from subdirectory

This commit is contained in:
Sebastian Sdorra
2011-06-22 17:58:47 +02:00
parent 42cd65de3b
commit 14f13703e1

View File

@@ -113,6 +113,7 @@ public class GitRepositoryBrowser implements RepositoryBrowser
try
{
treeWalk = new TreeWalk(repo);
treeWalk.setRecursive(Util.nonNull(path).contains("/"));
ObjectId revId = GitUtil.getRevisionId(repo, revision);