mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 22:15:51 +01:00
(refs #76)Show the content of the previous commit for removed files.
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
branches: List[String],
|
||||
tags: List[String],
|
||||
repository: service.RepositoryService.RepositoryInfo,
|
||||
diffs: Seq[util.JGitUtil.DiffInfo])(implicit context: app.Context)
|
||||
diffs: Seq[util.JGitUtil.DiffInfo],
|
||||
oldCommitId: Option[String])(implicit context: app.Context)
|
||||
@import context._
|
||||
@import view.helpers._
|
||||
@import util.Implicits._
|
||||
@@ -103,7 +104,7 @@
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
@helper.html.diff(diffs, repository, Some(commit.id))
|
||||
@helper.html.diff(diffs, repository, Some(commit.id), oldCommitId)
|
||||
}
|
||||
<script>
|
||||
$(function(){
|
||||
|
||||
Reference in New Issue
Block a user