From c41c15dbc11b0fa2031f0e4c862798c8c7ec1cf3 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Koga Date: Sun, 19 Mar 2017 02:14:12 +0900 Subject: [PATCH] Display the recursive diffstat on the first commit. --- src/main/scala/gitbucket/core/util/JGitUtil.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/gitbucket/core/util/JGitUtil.scala b/src/main/scala/gitbucket/core/util/JGitUtil.scala index e15af9b73..ac1a9b588 100644 --- a/src/main/scala/gitbucket/core/util/JGitUtil.scala +++ b/src/main/scala/gitbucket/core/util/JGitUtil.scala @@ -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){