Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Textconv support #1328
Textconv is a way of transforming binary data into something we can feed into our xdiff. Typical use-cases for this are letting
We should allow the user to hook into our diffs in order to provide diff-able representations of data. Git does this via file extensions, which seems like a reasonable starting point. We can then go crazy with the rules as useful ones crop up.
The registered functions would get a buffer with the contents and give us the textual representation of the data.
 binary means that our xdiff can't show a sensible diff with it, regardless of what the data inside is meant to represent.
This would be nice. GitLab, for example, is unable to show UTF-16 diffs, apparently due to this issue. See https://gitlab.com/gitlab-org/gitlab-ce/issues/24916#note_19417632