Ticket #31205 (assigned defect)
tardiff: comparisons are inaccurate for tarballs which do not contain an enclosing parent folder
|Reported by:||arno+macports@…||Owned by:||ryandesign@…|
When tardiff compares archives that aren't constructed to contain a folder at their root, the comparison can misinterpret the structure of the archive and fail.
This patch prefixes each archive entry with ./ and then removes repeated instances of this string. This ensures that each entry lists a parent directory.