docker-diff icon indicating copy to clipboard operation
docker-diff copied to clipboard

Diff using file content instead of file size?

Open arel opened this issue 7 years ago • 1 comments

It looks like the diff this produces is based on the file names and sizes as listed by export/tar. What happens if a file changes but stays the same length?

One option could be to compare hashes of the files in addition to the names. Even just including the modified time in the diff would help.

arel avatar Nov 10 '17 15:11 arel

this might help: https://github.com/moul/docker-diff/pull/12

azr avatar May 25 '18 09:05 azr