Loading
feat(mr): show source and target branches in view
What does this MR do?
Reorganizes the glab mr view TTY header so the title/IID lead — matching the layout of the GitLab web view — and adds the source and target branches to the meta line so users can see the merge direction at a glance without inspecting JSON output. Adds source_branch: and target_branch: keys to the raw non-TTY output for scripting parity.
Before
open
• opened by @jdwick 5 minutes ago
mrTitle !13After
mrTitle !13
open • @jdwick opened 5 minutes ago • merge: feature-branch → mainThe merge: prefix makes it unambiguous that the two names separated by an arrow are branches.
Related issues
Closes #8494 (closed)
Author's checklist
- Code refactoring guidelines followed.
- Tests updated.
- Commit messages follow the Conventional Commits spec.
Review checklist
- Behavior matches the issue's requested output shape.
- Non-TTY raw output remains scriptable.