You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add .gitignore pattern support for repository analysis
- Implement hybrid .gitignore processing using git check-ignore with pathspec fallback
- Add --respect-gitignore CLI option to both config and generate commands
- Update configuration models to store gitignore preference persistently
- Enhance RepoAnalyzer with gitignore pattern matching and priority logic
- Add comprehensive test suite for gitignore verification including negation patterns
- Update documentation with detailed pattern behavior and processing logic
- Add pathspec dependency for robust gitignore pattern matching
The feature respects .gitignore patterns during file analysis while maintaining proper priority:
1. Git ignore patterns are checked first
2. User CLI exclude patterns override git tracking
3. Default ignore patterns are applied last
4. Include patterns filter the remaining files
0 commit comments