Fixes #1093: `bd version` was spawning 5-7 git subprocesses before checking if it even needed database access. Moved the noDbCommands early-return check to run BEFORE: - ensureForkProtection() (spawns ~5 git commands) - signalOrchestratorActivity() (spawns git config) This eliminates unnecessary process churn for simple commands like `bd version`, `bd help`, `bd completion`, etc. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 KiB
33 KiB