server: keep newline worktree paths registered

git worktree list --porcelain splits a path at an embedded newline, so
is_worktree_registered treated a live checkout as unregistered. Task
cleanup could then remove_dir_all that directory after a failed
git worktree remove. NUL-delimited porcelain keeps the path in one field.
3b74908c6aSimone committed on 10/15/2026, 3:13:19 AM· committed by Lucenx9parent4a5a64f
8 files changedLine totals unavailable