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
commit 92f3af56c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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{