dandavison / delta

A syntax-highlighting pager for git, diff, grep, and blame output
https://dandavison.github.io/delta/
MIT License
22.56k stars 376 forks source link

🚀 Support to compare binary files #1156

Open tonyho opened 2 years ago

tonyho commented 2 years ago

In the open source area, nearly no tool which can compare binary files like the commercial comapre tool (Beyond compare) If delta can support this feature, I think it will become much more useful (For embedded developers)

Thanks.

dandavison commented 2 years ago

Hi @tonyho, thanks for the suggestion. For this feature I would like delta to build upon a dedicated binary file analysis tool (delta is really a tool for visualizing diff output: it's not a tool for computing diffs, whether on binary files or text files).

Have you investigated using delta on the output of something like hexyl? I don't work with binary files very much, but at first glance the results seem helpful?

image
dandavison commented 2 years ago

(delta file1 file2 uses git diff under the hood to compute the diff.)