mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-08 22:45:51 +01:00
Add TODO.
This commit is contained in:
@@ -163,6 +163,7 @@ class RepositoryViewerServlet extends ServletBase {
|
|||||||
val repositoryInfo = JGitUtil.getRepositoryInfo(owner, repository, servletContext)
|
val repositoryInfo = JGitUtil.getRepositoryInfo(owner, repository, servletContext)
|
||||||
|
|
||||||
// get branch by commit id
|
// get branch by commit id
|
||||||
|
// TODO this does not work correctly...
|
||||||
val branch = repositoryInfo.branchList.find { branch =>
|
val branch = repositoryInfo.branchList.find { branch =>
|
||||||
val git = Git.open(getBranchDir(owner, repository, branch))
|
val git = Git.open(getBranchDir(owner, repository, branch))
|
||||||
git.log.add(ObjectId.fromString(id)).call.iterator.hasNext
|
git.log.add(ObjectId.fromString(id)).call.iterator.hasNext
|
||||||
|
|||||||
Reference in New Issue
Block a user