feat(checkout): add merge-from-base and push operations for worktree branches

This commit is contained in:
Mohamed Boudra
2026-01-24 21:24:48 +07:00
parent 56399bcb42
commit 8fe30eae75
19 changed files with 947 additions and 121 deletions
@@ -133,10 +133,6 @@ export function AgentList({
const idx = basePath.indexOf(worktreeMarker);
if (idx !== -1) {
const afterMarker = basePath.slice(idx + worktreeMarker.length);
const slashIdx = afterMarker.indexOf("/");
if (slashIdx !== -1) {
return afterMarker.slice(slashIdx + 1);
}
return afterMarker;
}
return basePath;