mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 13:35:50 +01:00
(refs #437)Show author at repo file list view
This commit is contained in:
@@ -64,7 +64,7 @@ trait WikiService {
|
||||
if(!JGitUtil.isEmpty(git)){
|
||||
JGitUtil.getFileList(git, "master", ".").find(_.name == pageName + ".md").map { file =>
|
||||
WikiPageInfo(file.name, StringUtil.convertFromByteArray(git.getRepository.open(file.id).getBytes),
|
||||
file.committer, file.time, file.commitId)
|
||||
file.author, file.time, file.commitId)
|
||||
}
|
||||
} else None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user