When sync.branch is configured, .beads changes are committed to a separate branch via worktree rather than the current branch. Updated both hooks to detect this configuration and skip the uncommitted .beads check in that scenario. Changes: - pre-push: Skip uncommitted .beads check when sync.branch is set - pre-commit: Skip flush and auto-staging when sync.branch is set - Both: Use --json output for reliable config value detection - Bump version to 0.22.2 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2.0 KiB
Executable File
2.0 KiB
Executable File