delta icon indicating copy to clipboard operation
delta copied to clipboard

🐛 Affected by git's diff config

Open amb007 opened this issue 3 months ago • 0 comments

In ~/.gitconfig (the only config file) I have

[diff]
...
external=difft

If I cd to /tmp, I expect delta to know it's not a git repo. However, looking at strace output of delta file1 file2, it seems that delta (v0.18.2) gets to page the output of difft. When I comment out the external=difft line, I see in strace output diff -git... and the expected delta output. What exactly is going on and is there a way not to use difft without having to comment out the above line?

Thanks, Alex

amb007 avatar Sep 25 '25 14:09 amb007