reverse the order of commits to retrieve the last commit of files.

This commit is contained in:
takezoe
2013-06-18 22:04:29 +09:00
parent b72bbb6dcd
commit 874b2ae2b3

View File

@@ -292,7 +292,7 @@ object JGitUtil {
val revWalk = new RevWalk(git.getRepository)
revWalk.markStart(revWalk.parseCommit(git.getRepository.resolve(revision)))
revWalk.sort(RevSort.REVERSE);
//revWalk.sort(RevSort.REVERSE);
val i = revWalk.iterator
while(i.hasNext && map.size != paths.length){