-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Description
There should be an option to explain commits for all changes on a branch that is accessible from multiple places:
- in the context menu when right-clicking a branch ref in the graph
- as a command palette command
- from branches in other GitLens views
Add the command:
"Explain Unpushed Changed"
- Modify
"Explain Branch Changes"
- by trying to find user-configured merge base.

Follow-ups
Originally it was a ticket for "Recompose", but then "Explain" appeared from nowhere and eventually, "Recompose" has been moved out to wait for readiness of the CommitComposer. The follow up PR for recompose is here: #4644 the original description of the current ticket has been moved there. Probably, an issue needs to be created as well.
Verification steps
- test how each new menu item works
- test that new menu items are visible when and only when there are commits (unpushed or unmerged): both in graph and in Branch View.
- test how "Explain Branch Changes" works because it's base branch has been modified in
getBranchMergeTargetName
- test how other features that depend on
getBranchMergeTargetName
- Get Branch Contributions Overview
- Comparison default
Metadata
Metadata
Assignees
Labels
needs-verificationRequest for verificationRequest for verification