Skip to content

Show tag names in git blame tooltips#60757

Open
pixel365 wants to merge 2 commits into
zed-industries:mainfrom
pixel365:feat/tags
Open

Show tag names in git blame tooltips#60757
pixel365 wants to merge 2 commits into
zed-industries:mainfrom
pixel365:feat/tags

Conversation

@pixel365

Copy link
Copy Markdown
Contributor

Objective

Show git tag names in git: blame commit details.

Solution

Fetch tag names for commits included in blame data and pass them through the blame rendering path. Render tag names as chips in the blame hover
tooltip and expanded blame popover.

Tag lookup is best-effort, so blame still renders if tag lookup fails.

Testing

  • cargo test -p git test_parse_tag_names_for_lightweight_and_annotated_tags
  • cargo check -p git_ui
  • cargo check -p editor
  • cargo check -p project

Manual testing:

  • Opened git: blame on a file with a tagged commit.
  • Verified tag chips are shown in the blame hover tooltip and expanded popover.

Self-Review Checklist:

Showcase

Before:
before

After:
after

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant