Bug#888402: diffoscope: report differences in file metadata when comparing files

Chris Lamb lamby at debian.org
Thu Jan 25 04:19:11 UTC 2018


tags 888402 + pending
thanks

Hi Paul,

Implemented in Git here:

  https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=aa946c2a595e89dd620e53e5ea0c2cec665030ef

For example:

  --- 1
  +++ 2
  ├── stat {}
  │ @@ -1,8 +1,8 @@
  │  
  │    Size: 4096      	Blocks: 8          IO Block: 4096   directory
  │  Links: 2
  │  Access: (0755/drwxr-xr-x)  Uid: ( 1000/   lamby)   Gid: ( 1000/   lamby)
  │  
  │ -Modify: 2018-01-25 03:55:24.736417351 +0000
  │ +Modify: 2018-01-25 03:55:32.616473909 +0000
  │  
  │   Birth: -
  │   --- 1/index.html
  ├── +++ 2/index.html
  │ ├── stat {}
  │ │ @@ -1,8 +1,8 @@
  │ │  
  │ │    Size: 15060     	Blocks: 32         IO Block: 4096   regular file
  │ │  Links: 1
  │ │  Access: (0644/-rw-r--r--)  Uid: ( 1000/   lamby)   Gid: ( 1000/   lamby)
  │ │  
  │ │ -Modify: 2018-01-24 23:45:55.000000000 +0000
  │ │ +Modify: 2018-01-25 03:55:32.616473909 +0000
  │ │  
  │ │   Birth: -
  │ ├── extended file attributes
  │ │ @@ -1 +0,0 @@
  │ │ -user.xdg.origin.url: https://www.debian.org/

Enjoy!


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Reproducible-builds mailing list