Display the recursive diffstat on the first commit.

This commit is contained in:
Mitsuhiro Koga
2017-03-19 02:14:12 +09:00
parent 25b4b90633
commit c41c15dbc1

View File

@@ -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){