-
Notifications
You must be signed in to change notification settings - Fork 444
Closed
Description
Hi. Thanks for developing delta. It makes my Git life very comfortable.
I have an issue that git add -p
for submodule doesn't work. When I execute git add -p
for submodule, Git shows a fatal error as following:
fatal: mismatched output from interactive.diffFilter
hint: Your filter must maintain a one-to-one correspondence
hint: between its input and output lines.
delta v0.8.3 is OK but v0.9.0 and v0.9.1 are not OK.
git add -p
with delta v0.8.3 shows:
diff --git a/foo b/foo
index abc1234..xyz6789 000000
--- a/foo
+++ b/foo
@@ -1 +1 @@
1 ⋮ │-Subproject commit abc1234abc1234abc1234abc1234abc1234abc12
⋮ 1 │+Subproject commit xyz6789xyz6789xyz6789xyz6789xyz6789xyz67
On the other hand, git add -p
with delta v0.9.1 shows:
diff --git a/foo b/foo
index abc1234..xyz6789 000000
--- a/foo
+++ b/foo
abc1234..xyz6789
I guess this difference of output causes this issue.
My .gitconfig
is:
[delta]
line-numbers = true
...
[interactive]
diffFilter = delta --color-only
Excuse me if my usage/configuration is bad. Could you please point out my bad usage/configuration if so?
Best regards.
Metadata
Metadata
Assignees
Labels
No labels