# git_ui: Show tags in Git panel history \(\#60534\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d564495dde0c344fa54e2432b91680fc604e495c

Requested commit: d564495dde0c344fa54e2432b91680fc604e495c

Commit: d564495dde0c344fa54e2432b91680fc604e495c

Tree: 9903097af6862c29033fe7895ae3028be6a06bc6

Author: Ruslan Semagin

Committer: GitHub

## Message

```
git_ui: Show tags in Git panel history (#60534)

# Objective

- Make Git Panel History show commit tags so release/version markers are
visible without opening the full Git graph or commit details.

  ## Solution

- Store commit history entries with both the commit SHA and tag names
from existing git graph data.
  - Render tag names as muted chips next to the commit subject.
- Limit visible tags to 3 per commit and show `+N` for additional tags.

  ## Testing

  - Ran `cargo check -p git_ui`.
  - Manually verified on Linux with `script/zed-local --stateful .`.
  - Confirmed tags appear in Git Panel History.

  ## Self-Review Checklist:

  - [x] I've reviewed my own diff for quality, security, and reliability
  - [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and [icon]

(https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
  - [ ] Tests cover the new/changed behavior
  - [x] Performance impact has been considered and is acceptable

  ## Showcase

Git Panel History now shows commit tags inline as muted chips next to
the commit subject.

  ---

  Release Notes:

  - Added tag labels to the Git Panel commit history.

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
```

## Parents

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

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