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