Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doorstop/core/vcs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ def paths(self):
# Skip ignored paths
if self.ignored(relpath):
continue
# Skip hidden paths
if os.path.sep + "." in os.path.sep + relpath:
# Skip hidden paths according to settings definition
if not settings.ALLOW_HIDDEN_PATH_REFERENCES:
continue
self._path_cache.append((path, filename, relpath))
yield from self._path_cache
Expand Down
3 changes: 3 additions & 0 deletions doorstop/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
PLACEHOLDER = "..." # placeholder for new item UIDs on export/import
PLACEHOLDER_COUNT = 1 # number of placeholders to include on export

# VCS Behaviour
ALLOW_HIDDEN_PATH_REFERENCES=False

# Formatting settings
MAX_LINE_LENGTH = 79 # line length to trigger multiline on extended attributes

Expand Down