fix: Improve missing git hook message (#306)

Install hooks with 'bd hooks install' message added to bd doctor output.

Co-authored-by: Peter Loron <ploron@protonmail.com>
This commit is contained in:
Peter Loron
2025-11-15 11:53:38 -08:00
committed by GitHub
parent 2f83815ddd
commit 92f3af56c5

View File

@@ -1202,7 +1202,7 @@ func checkGitHooks(path string) doctorCheck {
}
}
hookInstallMsg := "See https://github.com/steveyegge/beads/tree/main/examples/git-hooks for installation instructions"
hookInstallMsg := "Install hooks with 'bd hooks install'. See https://github.com/steveyegge/beads/tree/main/examples/git-hooks for installation instructions"
if len(installedHooks) > 0 {
return doctorCheck{