Skip to content

Support/Use diffoscope for diff-ing binary files

Problem to solve

Non-text files are often not usefully diff-able by Git(Lab)'s current approach, unless they are at least images.

Intended users

Further details

Demos of diffoscope with different filetypes, as well as background info: https://www.youtube.com/results?search_query=diffoscope

Proposal

Implement a mechanism that calls on diffoscope for changes to files which we don't have other diff-ing solutions for.

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

See #26270. IMHO both implementing that and this issue would bring us closer to BHAG

What is the type of buyer?

Is this a cross-stage feature?

Links / references

This issue is similar to #26270 & possibly a more general approach.