git diff takes into account my textconv driver, but git difftool -d --textconv does not. Why? How to fix it?
My ~/.gitconfig contains among other settings:
[diff]
tool = default-difftool
[difftool "default-difftool"]
cmd = vim -f '+next' '+execute \"DirDiff\" argv(0) argv(1)' $LOCAL $REMOTE '+syntax off'
[diff "ipynb"]
textconv = nbcatsrc
And my .gitattributes is:
*.ipynb diff=ipynb
It's true that git difftool ignores textconv. An explanation and workaround is found here:
Is git difftool on binaries possible? If so, how does one configure it?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With