ewanmellor / git-diff-image

An extension to 'git diff' that provides support for diffing images.
254 stars 30 forks source link

Show binary diff if exif has no diff #41

Open DavidDTA opened 1 year ago

DavidDTA commented 1 year ago

Fixes #40

Before this change

If an image file differs, but its exif information is unchanged, git diff produces no output.

After this change

If an image file differs, but its exif information is unchanged, git diff produces the following output:

Binary files a/path/to/image.png and b/path/to/image.png differ