Using git diff was a pragmatic choice with libraries support (we use git_diff | Hex to parse hunks to provide better user experience).
I think a pure Elixir solution would be interesting and in fact that could be a great default for another tool: mix hex.package diff (we couldn’t use a NIF there)






















