mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
fix(picker.git_diff): remove --default-prefix, since that's no longer needed. See #2382
This commit is contained in:
parent
ba529d4f5d
commit
40774ae6ca
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ end
|
|||
---@type snacks.picker.finder
|
||||
function M.diff(opts, ctx)
|
||||
opts = opts or {}
|
||||
local args = M.git("diff", "--no-color", "--no-ext-diff", "--default-prefix", { args = { "--no-pager" } }, opts)
|
||||
local args = M.git("diff", "--no-color", "--no-ext-diff", { args = { "--no-pager" } }, opts)
|
||||
if opts.base then
|
||||
vim.list_extend(args, { "--merge-base", opts.base })
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue