mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
merge with branch issue-215
This commit is contained in:
@@ -116,8 +116,12 @@ def collectFiles(repo, revCtx, files, directories):
|
||||
paths.append(f)
|
||||
else:
|
||||
length = len(path.split('/')) + 1
|
||||
directory = path
|
||||
if not directory.endswith('/'):
|
||||
directory += '/'
|
||||
|
||||
for f in mf:
|
||||
if f.startswith(path):
|
||||
if f.startswith(directory):
|
||||
paths.append(f)
|
||||
|
||||
for p in paths:
|
||||
|
||||
Reference in New Issue
Block a user