feat(hooks): make template hooks sync.branch aware (bd-8ib)
Update the embedded template hooks (used by bd init) to also check for sync.branch configuration. This complements the earlier update to examples/git-hooks/. Changes: - templates/hooks/pre-push: Skip uncommitted check when sync.branch set - templates/hooks/pre-commit: Skip flush/staging when sync.branch set - Bump version to 0.27.1 for all hooks - Add sync.branch hooks change to --whats-new 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -288,9 +288,10 @@ type VersionChange struct {
|
||||
// versionChanges contains agent-actionable changes for recent versions
|
||||
var versionChanges = []VersionChange{
|
||||
{
|
||||
Version: "0.27.0",
|
||||
Date: "2025-11-29",
|
||||
Version: "0.27.1",
|
||||
Date: "2025-11-30",
|
||||
Changes: []string{
|
||||
"Git hooks now sync.branch aware - pre-commit/pre-push skip .beads checks when sync.branch configured",
|
||||
"Custom Status States - Define project-specific statuses via config (testing, blocked, review)",
|
||||
"Contributor Fork Workflows - `bd init --contributor` auto-configures sync.remote=upstream",
|
||||
"Git Worktree Support - Full support for worktrees in hooks and detection",
|
||||
|
||||
Reference in New Issue
Block a user