Bug#850850: diffoscope: add file type (magic) information to diff output

Emanuel Bronshtein e3amn2l at gmx.com
Tue Jan 10 20:48:29 UTC 2017


I meant to add the file type information for all files, as there are more useful cases such as /usr/bin/rebar file at
https://tests.reproducible-builds.org/debian/dbdtxt/unstable/amd64/rebar_2.6.4-2.diffoscope.txt

See:
│ │ │ ├── ./usr/bin/rebar │ │ │ │ @@ -1,16 +1,16 @@ │ │ │ │ 00000000: 2321 2f75 7372 2f62 696e 2f65 6e76 2065 #!/usr/bin/env e │ │ │ │ 00000010: 7363 7269 7074 0a25 250a 2525 2120 2d70 script.%%.%%! -p │ │ │ │ 00000020: 6120 7265 6261 722f 7265 6261 722f 6562 a rebar/rebar/eb │ │ │ │ -00000030: 696e 0a50 4b03 0414 0000 0000 0044 2a3e in.PK........D*> │ │ │ │ -00000040: 4c00 0000 0000 0000 0000 0000 0006 0000 L............... │ │ │ │ +00000030: 696e 0a50 4b03 0414 0000 0000 0019 079d in.PK........... │ │ │ │ +00000040: 4900 0000 0000 0000 0000 0000 0006 0000 I...............

Or when the file-content don't match the extension.

On January 10, 2017 10:19:36 PM GMT+02:00, Chris Lamb <lamby at debian.org> wrote:
>tags 850850 + pending
>thanks
>
>Fixed in:
>
>https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=3131f5ee6c1ee10475736d74f8f903fa02263bdb
>
>:)
>
>
>Regards,

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the Reproducible-builds mailing list