Add TODO.

This commit is contained in:
takezoe
2013-04-29 04:46:33 +09:00
parent acdd9ba4b5
commit 1779d167ea

View File

@@ -163,6 +163,7 @@ class RepositoryViewerServlet extends ServletBase {
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