- Detect existing git hooks (pre-commit framework, custom scripts) - Prompt user with 3 options: chain (recommended), overwrite, skip - Chain mode preserves existing hooks by calling them first - Overwrite mode creates timestamped backups - Add tests for hook detection and installation - Update documentation with chaining feature Fixes silent overwrites of pre-commit framework hooks that caused test failures to slip through. Amp-Thread-ID: https://ampcode.com/threads/T-37164fd7-6452-40b0-b5dd-c13672dcb843 Co-authored-by: Amp <amp@ampcode.com>
4.7 KiB
4.7 KiB