Skip to content

Find exclude patterns match basenames only, making path-based exclusion impossible #210

@shellicar

Description

@shellicar

Current behaviour

The exclude parameter matches directory names by basename. There is no way
to exclude based on path structure.

In practice, every dot directory (.git, .claude, .turbo, etc.) must be
listed individually. A single rule covering all dot directories is not
expressible. If I forget one, its contents appear alongside source files:
.git object files, .claude session logs, mixed in where they do not belong.

Desired behaviour

I can express exclusions based on path structure, and common directories are
excluded by default without listing them individually.

Notes

Specifically about exclude semantics and defaults. The pattern field
already accepts regex and is not affected.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions