You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cd1f94d
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): empty-repo fallback keeps - and :/text worktree bases
The no-commit probe appended `^{commit}` to the raw base, so `:/text`
searched for a different message and `-` was not read as `@{-1}`. With an
unborn HEAD both probes failed and a valid worktree request ran in the
project folder. Probe `-` as `@{-1}` and leave `:/text` searches to
`git worktree add`, as checkWorktreeBase already does.
AI-assisted; verified with the tests and tools listed above.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments