mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-09 04:37:19 +02:00
Display the recursive diffstat on the first commit.
This commit is contained in:
@@ -538,6 +538,7 @@ object JGitUtil {
|
||||
} else {
|
||||
// initial commit
|
||||
using(new TreeWalk(git.getRepository)){ treeWalk =>
|
||||
treeWalk.setRecursive(true)
|
||||
treeWalk.addTree(revCommit.getTree)
|
||||
val buffer = new scala.collection.mutable.ListBuffer[DiffInfo]()
|
||||
while(treeWalk.next){
|
||||
|
||||
Reference in New Issue
Block a user