feat(checkout): add merge-from-base and push operations for worktree branches
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user