mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +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)
|
paths.append(f)
|
||||||
else:
|
else:
|
||||||
length = len(path.split('/')) + 1
|
length = len(path.split('/')) + 1
|
||||||
|
directory = path
|
||||||
|
if not directory.endswith('/'):
|
||||||
|
directory += '/'
|
||||||
|
|
||||||
for f in mf:
|
for f in mf:
|
||||||
if f.startswith(path):
|
if f.startswith(directory):
|
||||||
paths.append(f)
|
paths.append(f)
|
||||||
|
|
||||||
for p in paths:
|
for p in paths:
|
||||||
|
|||||||
Reference in New Issue
Block a user