Commit Graph

5 Commits

Author SHA1 Message Date
b7cce75c3f Don't perform the first call to compare if we've seen a difference
in the EXIF info.

This means that we won't run the (potentially expensive) first compare if we
have seen a metadata change, in particular a file size change.  We already
know that there's a difference.
2019-04-10 18:21:00 -07:00
ec81932335 If the second argument is a directory, append the filename from the
first argument.

This matches the behavior of diff.
2019-03-07 15:04:26 -08:00
a01cbe6b9f Add background color flag to diff-image 2019-01-29 11:42:02 -08:00
670ec172d6 Add Linux support 2018-10-21 15:02:14 +01:00
92caf772dc Break the script into two, so that we can use it as a normal CLI command,
as well as the existing "git diff" functionality.
2018-04-20 10:24:07 -07:00