Skip to content

Detached head worktrees do not appear in worktree popup #53262

@connortsui20

Description

@connortsui20

Reproduction steps

Recently, there was an update (I do not know which PR, please let me know and I can update this description) that moved git worktrees from the "recent projects" popup to a new(?) git worktrees popup. I would typically use the recent projects popup to open worktrees.

That change was fine, but I've noticed that if a git worktree is not on a branch (for example, a detached head), it doesn't appear on the worktree popup. So now that worktree doesn't appear on ANY popup (that I am aware of).

Current vs. Expected behavior

See reproduction steps.

I would expect the detached head worktree to still appear on the worktrees popup. Because now (AFAIK) the only way for me to open it is via my filesystem.

Zed version and system specs

Zed: v0.230.1+stable.210.bf3a14350a4fa4b67747afe2e50128fb8fea4fa3 (Zed)
OS: macOS 15.7.3
Memory: 128 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:integrations/gitGit integration feedbackfrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcmeta:regressionthis used to work and now doesn'tpriority:P2Average run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    No fields configured for Bug.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions