# assistant: Include worktree name in diagnostics slash command \(\#13354\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/04a79780d8987ae92a340a1e701e294e4f095018)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 04a79780d8987ae92a340a1e701e294e4f095018

Requested commit: 04a79780d8987ae92a340a1e701e294e4f095018

Commit: 04a79780d8987ae92a340a1e701e294e4f095018

Tree: a4057f5af7eaa1907ddae60c6a9aabb2534799b2

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
assistant: Include worktree name in diagnostics slash command (#13354)

Files included with the diagnostics command now include the worktree
name, making it more consistent with the way other commands work
(`/active`, `/tabs`, `/file`). Also, the diagnostics command will now
insert nothing when there are no diagnostics.

Release Notes:

- N/A
```

## Parents

- [4dd05a80e0b140d5c3f7f619966a4e5238e5d422](https://git.cafe/gitcafe/zed/commit/4dd05a80e0b140d5c3f7f619966a4e5238e5d422?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/04a79780d8987ae92a340a1e701e294e4f095018?format=markdown)
