Skip to content

Conversation

@marcus-steinbach
Copy link
Collaborator

…checks

BREAKING CHANGE: Implementation now uses git diff --cached instead of filesystem timestamps

  • Replace timestamp comparison with git staging area checks
  • Eliminates false positives from other pre-commit hooks (ruff, black, etc)
  • Dynamically display configured model directories in error messages
  • Add comprehensive test suite with 5 test scenarios
  • Update README with detailed documentation and examples
  • Keep --exclude-dir for backward compatibility

Fixes issues with other pre-commit hooks modifying file timestamps Enables accurate detection of actual code changes only

…checks

BREAKING CHANGE: Implementation now uses git diff --cached instead of filesystem timestamps

- Replace timestamp comparison with git staging area checks
- Eliminates false positives from other pre-commit hooks (ruff, black, etc)
- Dynamically display configured model directories in error messages
- Add comprehensive test suite with 5 test scenarios
- Update README with detailed documentation and examples
- Keep --exclude-dir for backward compatibility

Fixes issues with other pre-commit hooks modifying file timestamps
Enables accurate detection of actual code changes only
@marcus-steinbach marcus-steinbach requested a review from sweh January 17, 2026 09:51
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