Skip to content

Conversation

@tnunamak
Copy link
Owner

  • Git filtering was being applied regardless of --no-gitignore flag
  • Now git filtering only occurs when args.use_gitignore is True
  • Add regression tests to prevent future bugs:
    • test_no_gitignore_flag_skips_git_filtering()
    • test_default_behavior_applies_git_filtering()

Fixes issue where rstring would return 0 files in git-ignored directories even when --no-gitignore was specified.

- Git filtering was being applied regardless of --no-gitignore flag
- Now git filtering only occurs when args.use_gitignore is True
- Add regression tests to prevent future bugs:
  - test_no_gitignore_flag_skips_git_filtering()
  - test_default_behavior_applies_git_filtering()

Fixes issue where rstring would return 0 files in git-ignored directories
even when --no-gitignore was specified.
@tnunamak tnunamak merged commit 438397c into main Jul 11, 2025
8 checks passed
@tnunamak tnunamak deleted the fix-gitignore branch July 11, 2025 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants