mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 22:15: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)
|
||||
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user