dandavison / delta

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

Improve binary file added output #1502

Closed Sondeyy closed 1 year ago

Sondeyy commented 1 year ago

Targeting: #96

If the binary file changed, it will output the Binary files a/foo and b/foo differ as before. If the binary file got added or deleted, it will append (binary file) to the filename, print the diff header and skip the body.

Tests:

dandavison commented 1 year ago

LGTM! Thanks very much for this work. (I tested it manually using https://github.com/dandavison/delta/issues/96#issuecomment-1665808161)