Add getCurrentBranchOrHEAD() which returns "HEAD" when in detached HEAD state instead of failing. This fixes bd sync --status for jj/jujutsu users. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add getCurrentBranchOrHEAD() which returns "HEAD" when in detached HEAD state instead of failing. This fixes bd sync --status for jj/jujutsu users. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>