mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-04 20:45:58 +01:00
reverse the order of commits to retrieve the last commit of files.
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user