Skip to content

add no-default-ignore for filesystem mode#32

Merged
hyle merged 1 commit intomainfrom
add-no-default-ignore
Mar 16, 2026
Merged

add no-default-ignore for filesystem mode#32
hyle merged 1 commit intomainfrom
add-no-default-ignore

Conversation

@hyle
Copy link
Copy Markdown
Owner

@hyle hyle commented Mar 16, 2026

Summary

Add --no-default-ignore to make filesystem ignore behavior explicit and user-controlled.

Changes

  • Add --no-default-ignore to disable built-in default ignore patterns in filesystem mode
  • Keep local .gitignore rules active when --no-default-ignore is used
  • Apply the new behavior only in recursive/filesystem mode
  • Update CLI help to include the new flag
  • Update README option docs and ignore-behavior documentation
  • Add CLI coverage proving:
    • built-in default ignores still apply by default
    • --no-default-ignore disables only the built-in defaults
    • local .gitignore rules still apply

Why

This makes the ignore model explicit in behavior, not just in documentation. Users can now choose whether filesystem mode should apply the built-in ignore defaults, without changing Git-backed or stdin-driven selection semantics.

Verification

  • Ran make test successfully

@hyle hyle self-assigned this Mar 16, 2026
@hyle hyle added bug Something isn't working enhancement New feature or request labels Mar 16, 2026
@hyle hyle merged commit ac32bcc into main Mar 16, 2026
@hyle hyle deleted the add-no-default-ignore branch March 16, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant