Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 3e6f6bc4 authored by florez_j's avatar florez_j
Browse files

Remove skip directory condition when directory keywords are empty. Here, all...

Remove skip directory condition when directory keywords are empty. Here, all paths to files should be considered.
parent 1a843ee2
No related branches found
No related tags found
No related merge requests found
......@@ -319,7 +319,7 @@ def copy_directory_with_contraints(input_dir_path, output_dir_path,
for dirpath, _, filenames in os.walk(subpath,topdown=False):
# Ensure composite keywords e.g., <keyword>/<keyword> are contained in the path
if not any([keyword in dirpath for keyword in select_dir_keywords]):
if select_dir_keywords and not any([keyword in dirpath for keyword in select_dir_keywords]):
continue
# Reduce filenames to those that are admissible
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment