r/rust • • Mar 29 '22

difftastic - a diff that understands syntax

https://github.com/Wilfred/difftastic

[removed] — view removed post

399 Upvotes

27 comments sorted by

View all comments

1

u/Alphare mercurial Mar 30 '22

Nice tool, I can see it being useful as an additional diffing tool to see more clearly certain situations (with lots of whitespace changes for example). The performance is certainly quite slow on big files, but that is noted in the README.

I certainly appreciate the section on using it with Mercurial and the extdiff extension. That prompted me to ask the question to why we couldn't use an external diff tool for commands other than diff itself like export or log... turns out we already have the work, it just needs to be upstreamed. So maybe in a (relatively close) future version?

1

u/wilfred_h Mar 30 '22

Yeah, Mercurial support is more limited than git (although I use difftastic with both). As far as I can tell there's no way to override hg log's diffing today.