-
Notifications
You must be signed in to change notification settings - Fork 444
Closed
Description
When I try to use git add -p
, I get the following error:
$ git add -p
fatal: mismatched output from interactive.diffFilter
hint: Your filter must maintain a one-to-one correspondence
hint: between its input and output lines.
I'm using delta
with the following config:
$ delta --version
delta 0.4.3
$ delta --show-config
commit-style = raw
file-style = blue
hunk-header-style = syntax
minus-style = syntax 52
minus-non-emph-style = syntax 52
minus-emph-style = syntax 88
minus-empty-line-marker-style = normal 88
zero-style = syntax
plus-style = syntax black
plus-non-emph-style = syntax black
plus-emph-style = syntax 22
plus-empty-line-marker-style = normal 22
whitespace-error-style = reverse magenta
24-bit-color = false
file-added-label = 'added:'
file-modified-label = ''
file-removed-label = 'removed:'
file-renamed-label = 'renamed:'
hyperlinks = false
inspect-raw-lines = true
keep-plus-minus-markers = true
line-numbers = true
line-numbers-minus-style = red
line-numbers-zero-style = brightgreen
line-numbers-plus-style = green
line-numbers-left-style = blue
line-numbers-right-style = blue
line-numbers-left-format = '{nm:^4}⋮'
line-numbers-right-format = '{np:^4}│'
max-line-distance = 0.6
max-line-length = 512
navigate = false
paging = auto
side-by-side = false
syntax-theme = Solarized (dark)
width = 145
tabs = 4
word-diff-regex = '\w+'
In my .gitconfig are the following relevant options:
[core]
pager = delta
[delta]
commit-style = raw
file-style = blue
hunk-header-style = syntax
minus-style = syntax 52
minus-emph-style = syntax 88
zero-style = syntax normal
plus-style = syntax black
plus-emph-style = syntax 22
keep-plus-minus-markers = true
line-numbers = true
line-numbers-minus-style = red
line-numbers-zero-style = brightgreen
line-numbers-plus-style = green
whitespace-error-style = reverse magenta
minus-empty-line-marker-style = normal 88
plus-empty-line-marker-style = normal 22
[interactive]
diffFilter = delta --color-only
[color]
ui = true
waldyrious
Metadata
Metadata
Assignees
Labels
No labels