Bug#989192: diffoscope: Differences in file lists are repeated at each depth level
Mike Hommey
mh+reportbug at glandium.org
Fri May 28 05:53:07 BST 2021
Package: diffoscope
Version: 175
Severity: normal
STR:
- mkdir -p a/foo/bar b/foo/bar
- touch a/foo/bar/baz b/foo/bar/qux
- diffoscope a b --exclude-directory-metadata=recursive
Actual result:
--- a
+++ b
├── file list
│ @@ -1,3 +1,3 @@
│ foo
│ foo/bar
│ -foo/bar/baz
│ +foo/bar/qux
│ --- a/foo
├── +++ b/foo
│ ├── file list
│ │ @@ -1,2 +1,2 @@
│ │ bar
│ │ -bar/baz
│ │ +bar/qux
│ │ --- a/foo/bar
│ ├── +++ b/foo/bar
│ │ ├── file list
│ │ │ @@ -1 +1 @@
│ │ │ -baz
│ │ │ +qux
Expected Result:
--- a
+++ b
│ --- a/foo
├── +++ b/foo
│ │ --- a/foo/bar
│ ├── +++ b/foo/bar
│ │ ├── file list
│ │ │ @@ -1 +1 @@
│ │ │ -baz
│ │ │ +qux
More information about the Reproducible-builds
mailing list