difftastic
Share on:
Enter Your Mastodon Instance
Copy the link below to share to Mastodon
https://terminaltrove.com/difftastic/
A structural diff that understands syntax.

difftastic is a structural syntax-aware diff tool that compares files based on their syntax instead of raw lines.
It parses code with tree-sitter, builds syntax trees, matches expressions instead of lines, supports and detects over 50+ programming languages and can be integrated with Git as an alternative diff tool to replace the internal built-in version provided by Git. Many other version control systems (VCSs) is supported with difftastic such as Mercurial, Fossil, and Jujutsu.
difftastic is used by developers, reviewers, and maintainers who read lots of diffs, especially on large codebases when you care about real semantic changes rather than blocks of lines changed in a commit or want cleaner, more focused diffs during development across many complex projects regardless of the programming language.
