diff --git a/cmd/bd/doctor.go b/cmd/bd/doctor.go index 7b2abb3c..5686d10c 100644 --- a/cmd/bd/doctor.go +++ b/cmd/bd/doctor.go @@ -412,6 +412,11 @@ func runDiagnostics(path string) doctorResult { result.Checks = append(result.Checks, issuesTrackingCheck) // Don't fail overall check for tracking issues, just warn + // Check 14b: Redirect file not tracked (worktree support) + redirectCheck := convertWithCategory(doctor.CheckRedirectNotTracked(), doctor.CategoryGit) + result.Checks = append(result.Checks, redirectCheck) + // Don't fail overall check for redirect tracking, just warn + // Check 15: Git merge driver configuration mergeDriverCheck := convertWithCategory(doctor.CheckMergeDriver(path), doctor.CategoryGit) result.Checks = append(result.Checks, mergeDriverCheck) diff --git a/cmd/bd/doctor_fix.go b/cmd/bd/doctor_fix.go index 67fe9a5c..76443bfb 100644 --- a/cmd/bd/doctor_fix.go +++ b/cmd/bd/doctor_fix.go @@ -225,6 +225,8 @@ func applyFixList(path string, fixes []doctorCheck) { switch check.Name { case "Gitignore": err = doctor.FixGitignore() + case "Redirect Not Tracked": + err = doctor.FixRedirectTracking() case "Git Hooks": err = fix.GitHooks(path) case "Daemon Health":