fix(core): always start worktrees as detached (#26931)
This commit is contained in:
parent
42a0453945
commit
9067218b74
7 changed files with 101 additions and 47 deletions
|
|
@ -1934,7 +1934,7 @@ export default function Layout(props: ParentProps) {
|
|||
|
||||
if (!created?.directory) return
|
||||
|
||||
setWorkspaceName(created.directory, created.branch, project.id, created.branch)
|
||||
setWorkspaceName(created.directory, created.branch ?? getFilename(created.directory), project.id, created.branch)
|
||||
|
||||
const local = project.worktree
|
||||
const key = pathKey(created.directory)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue