Files
beads/cmd/bd
Steve Yegge 046e852861 Fix GH#254: bd init now detects and chains with existing git hooks
- 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>
2025-11-07 15:55:19 -08:00
..
2025-11-06 20:15:34 -08:00
2025-10-27 20:08:50 -07:00
2025-10-31 22:39:53 -07:00
2025-11-05 14:25:48 -08:00
2025-11-06 20:15:34 -08:00
2025-11-05 13:56:12 -08:00
2025-11-05 13:56:12 -08:00
2025-10-27 20:08:50 -07:00
2025-10-31 22:39:53 -07:00
2025-11-05 13:56:12 -08:00
2025-11-02 21:25:40 -08:00
2025-11-02 17:09:39 -08:00
2025-11-06 20:25:36 -08:00