Package: diffoscope
Version: 78
Severity: wishlist

Dear Maintainer,

It would be handy if diffoscope used the same exit codes as diff to indicate
the similarity (or otherwise) of files. diff(1) says:

    Exit status is 0 if inputs are the same, 1 if different, 2 if trouble.

which makes it very easy to programmatically detect if two files are the same
or if diffoscope otherwise exited. (diff's exit 2 includes "no such file or
directory" errors)

cheers
Stuart

Reply via email to