Bug#1004182: diffoscope: can't compare non-existent files: No such file or directory
Jakub Wilk
jwilk at jwilk.net
Mon Jan 24 18:53:04 GMT 2022
* Chris Lamb <lamby at debian.org>, 2022-01-24, 11:21:
>https://salsa.debian.org/reproducible-builds/diffoscope/commit/b51a31e9c5d62d40327a870cb8dfdbeed9a4b021
Hmm, that's not the outcome I was hoping for…
But when reading the changelog entry for 32, I (re-)discovered the
option --new-file, which makes this work:
$ diffoscope --new-file /nonexistent archive.zip
--- /nonexistent
+++ archive.zip
├── zipinfo {}
│ @@ -0,0 +1,3 @@
│ +Zip file size: 199 bytes, number of entries: 1
│ +-rw-r--r-- 3.0 unx 13 tx stor 21-Aug-22 17:00 etc/debian_version
│ +1 file, 13 bytes uncompressed, 13 bytes compressed: 0.0%
...
--
Jakub Wilk
More information about the Reproducible-builds
mailing list