-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Closed
Copy link
Labels
area-gitIssues or features related to using GitIssues or features related to using Gitarea-graph-detailsIssues or features related to the Commit Graph detailsIssues or features related to the Commit Graph detailsarea-inspectIssues or features related to the Inspect viewIssues or features related to the Inspect viewverified ✔VerifiedVerified
Milestone
Description
Summary
Adds ability to display which branches and tags contain a specific commit, helping users understand commit propagation across the repository structure.
Impact
Benefits users by:
- Providing visibility into commit reachability without leaving the Commit Details or Graph Details views
- Helping users quickly identify which branches contain specific changes
- Improving understanding of release coverage by showing tags containing commits
- Supporting debugging workflows by revealing where commits have been merged
Improves developer productivity through inline branch/tag information, reducing context switching to terminal commands like git branch --contains or git tag --contains.
Validation
- Open GitLens Commit Details view for any commit
- Click "Show Branches & Tags" action chip
- Verify loading state displays with spinner
- Confirm branches and tags containing the commit are displayed
- Verify current branch is highlighted
- Test clicking range chip (multiple refs) shows popover with full list
- Verify error state with retry button on failure
- Confirm "Not on any branch or tag" warning for orphaned commits
- Test telemetry events fire correctly (
commitDetails/reachability/loadedand/failed) - Verify caching prevents redundant Git operations (60 min TTL, 25 commit capacity per repo)
Risk
Low - Read-only feature with isolated implementation:
- Uses existing Git sub-provider pattern
- Opt-in user interaction (click to load)
- Graceful error handling with retry mechanism
- Cached results prevent performance impact
- New telemetry events track success/failure rates
- No changes to core Git operations or data structures
Potential regressions:
- Performance impact on repos with hundreds of branches/tags (mitigated by caching with LRU eviction)
- UI layout shifts in Commit Details view (new row added conditionally)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-gitIssues or features related to using GitIssues or features related to using Gitarea-graph-detailsIssues or features related to the Commit Graph detailsIssues or features related to the Commit Graph detailsarea-inspectIssues or features related to the Inspect viewIssues or features related to the Inspect viewverified ✔VerifiedVerified