diff --git a/src/main/scala/app/RepositoryViewerServlet.scala b/src/main/scala/app/RepositoryViewerServlet.scala index 8644592..26d2806 100644 --- a/src/main/scala/app/RepositoryViewerServlet.scala +++ b/src/main/scala/app/RepositoryViewerServlet.scala @@ -163,6 +163,7 @@ val repositoryInfo = JGitUtil.getRepositoryInfo(owner, repository, servletContext) // get branch by commit id + // TODO this does not work correctly... val branch = repositoryInfo.branchList.find { branch => val git = Git.open(getBranchDir(owner, repository, branch)) git.log.add(ObjectId.fromString(id)).call.iterator.hasNext