difftastic icon indicating copy to clipboard operation
difftastic copied to clipboard

Act as pager to work with 'git show'

Open ilius opened this issue 2 years ago • 1 comments

Currently, with a git config like this

[alias]
	showext = show --ext-diff

[diff]
	external = difft --tab-width=4

[pager]
        difftool = true

I am able to use difftastic with git showext or git show --ext-diff instead of git show. But not with git show itself.

While I can enable tool delta (which is a line diff + word diff) for git show itself by setting it as pager:

[core]
	pager = delta | less

Would it be possible to support something like this?

ilius avatar Sep 17 '22 07:09 ilius

This would be great. I'm not well versed in Rust and tried to find how delta does it, but couldn't figure it out in the short time. This is the reason why I still use delta in practice, even though I consider difftastic the superior diff tool.

vauhochzett avatar Nov 20 '23 12:11 vauhochzett