Fixes GH#483 - The pre-commit hook was blocking commits when `bd sync --flush-only` failed, even if the user had removed beads from their branch. This made it impossible to commit on branches that don't have beads configured. Changes: - Change "Error:" to "Warning:" in the message - Remove `exit 1` so commits proceed even if flush fails - Add comments explaining why we don't block commits 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2.4 KiB
Executable File
2.4 KiB
Executable File