fix(picker.git_diff): remove --default-prefix, since that's no longer needed. See #2382

This commit is contained in:
Folke Lemaitre 2025-10-30 00:57:51 +01:00
parent ba529d4f5d
commit 40774ae6ca
No known key found for this signature in database
GPG key ID: 9B52594D560070AB

View file

@ -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