Files
Ondra Pelechandcodex 9c53228bb8 fix(server): actionable error when creating a worktree in a commit-less repo
git worktree add cannot branch from an unborn HEAD, so starting a thread in New worktree mode inside a freshly-initialized repository (no commits yet) failed with a cryptic invalid-reference error.

Detect the missing base commit up front and fail with actionable guidance to make an initial commit or use the current checkout instead.

Co-authored-by: codex <[email protected]>
2026-07-20 17:39:18 +02:00
..
2026-06-29 22:57:48 +00:00