chore: default :Review to unpushed commits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -1,5 +1,5 @@
|
||||
-- :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)
|
||||
-- Without args it refreshes the last review (or starts one against @{upstream}: unpushed commits)
|
||||
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