feat: add :Review command
This commit is contained in:
5 files changed
+102
-39
No files matched your search
@@ -0,0 +1,6 @@
|
||||
-- :Review [base] [head] e.g. `:Review origin/develop`, `:Review origin/main origin/feat-x`
|
||||
-- Without args it refreshes the last review (or starts one against origin/HEAD)
|
||||
Config.command('Review', function(o) require('git').review(o.fargs[1], o.fargs[2]) end, 'Review changes against merge-base', {
|
||||
nargs = '*',
|
||||
complete = function() return vim.fn.systemlist('git branch -a --format=%(refname:short)') end,
|
||||
})
|
||||
Reference in new issue
Block a user