We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Improving Elixir diffs using Difftastic
19
clicks

Source: crbelaus.com
Difftastic is a CLI tool created by Wilfred Hughes that enhances the diffing process by understanding the syntax of the code, rather than comparing it line-by-line. The author, who primarily codes in Elixir, utilizes Difftastic via git diff to examine changes in Elixir code on a daily basis. While the tool works well for standard Elixir code and HEEx templates, the author encountered issues with ~H sigils. After investigating the codebase, which is well-structured despite being written in Rust, the author was able to contribute a fix through a pull request. The fix has been merged, allowing Elixir users of Difftastic to benefit from these improvements, showcasing the strength of open-source collaboration.
Related posts
© HashMerge 2025