Skip to content

Commit df08cb9

Browse files
authored
Merge pull request #1815 from SheffeyG/fix-diff-noprefix
2 parents 246eafd + e696453 commit df08cb9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lua/neogit/process.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ local Spinner = require("neogit.spinner")
1111
local api = vim.api
1212
local fn = vim.fn
1313

14-
local command_mask =
15-
vim.pesc(" --no-pager --literal-pathspecs --no-optional-locks -c core.preloadindex=true -c color.ui=always")
14+
local command_mask = vim.pesc(
15+
" --no-pager --literal-pathspecs --no-optional-locks -c core.preloadindex=true -c color.ui=always -c diff.noprefix=false"
16+
)
1617

1718
local function mask_command(cmd)
1819
local command, _ = cmd:gsub(command_mask, "")

0 commit comments

Comments
 (0)