mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 21:15:49 +01:00
Fix file list of the nested directory.
This commit is contained in:
@@ -145,6 +145,8 @@ object JGitUtil {
|
||||
if(path != "."){
|
||||
treeWalk.setRecursive(true)
|
||||
treeWalk.setFilter(PathFilter.create(path))
|
||||
treeWalk.next()
|
||||
treeWalk.setRecursive(false)
|
||||
}
|
||||
|
||||
val list = new scala.collection.mutable.ListBuffer[FileInfo]
|
||||
|
||||
Reference in New Issue
Block a user