Skip to content

Commit f1ec78a

Browse files
authored
Feat: Add branch info to choose_merge_request menu (#318)
1 parent 82fe076 commit f1ec78a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/gitlab/actions/merge_requests.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ M.choose_merge_request = function(opts)
2525
vim.ui.select(state.MERGE_REQUESTS, {
2626
prompt = "Choose Merge Request",
2727
format_item = function(mr)
28-
return string.format("%s (%s)", mr.title, mr.author.name)
28+
return string.format("%s [%s -> %s] (%s)", mr.title, mr.source_branch, mr.target_branch, mr.author.name)
2929
end,
3030
}, function(choice)
3131
if not choice then

0 commit comments

Comments
 (0)