Control: tag -1 + unreproducible moreinfo

Hi Carlos,

sorry for the late reply. Seems to have slipped through the cracks.

Carlos Maddela wrote:
> Perhaps I'm not using this utility in the way it was intended to be
> used, but it falsely reports tarballs to be identical if the top-level
> directories are identical.

Hmmm, I just tried to reproduce this:

$ als foo-1.tar
drwxr-xr-x abe/abe           0 2019-09-01 17:07 foo/
drwxr-xr-x abe/abe           0 2019-09-01 17:07 foo/bar/
-rw-r--r-- abe/abe           4 2019-09-01 17:07 foo/bar/foo
$ als foo-2.tar
drwxr-xr-x abe/abe           0 2019-09-01 17:07 foo/
drwxr-xr-x abe/abe           0 2019-09-01 17:07 foo/fnord/
-rw-r--r-- abe/abe           4 2019-09-01 17:07 foo/fnord/bar
$ tardiff foo-1.tar foo-2.tar
- bar
- bar/foo
+ fnord
+ fnord/bar

I also checked if compressed tar balls make a difference:

$ gzip -9vn *.tar
foo-1.tar:       98.7% -- replaced with foo-1.tar.gz
foo-2.tar:       98.7% -- replaced with foo-2.tar.gz
$ tardiff foo-1.tar.gz foo-2.tar.gz
- bar
- bar/foo
+ fnord
+ fnord/bar

I also tried two debian.tar.xz files:

$ tardiff /var/cache/pbuilder/result/zsh_5.{6.2-3,7.1-1}.debian.tar.xz
- compat
- patches/cherry-pick-551ff842-43464-another-attachtty-fix.patch
- patches/cherrypick_decc78c72__svn:_Allow_hyphens_in_command_name_aliases.patch
+ patches/example-shebang.patch
+ pkg-zsh-workflow-new-upstream-release.md
- pkg-zsh-workflow.md
+ pkg-zsh-workflow_outdated.md

So I can't really reproduce this.

Any idea what I might do different than you? Did you use any
additional commandline options when you ran into this?

P.S.: I've hence uploaded a new tardiff package without your patch,
but once I'm able to reproduce this, I'd include your patch and do
another upload.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to