From: Scott Worley Date: Thu, 7 Sep 2023 20:36:46 +0000 (-0700) Subject: Show which files are unexpectedly incomparable X-Git-Tag: v3.0.12~2 X-Git-Url: http://git.scottworley.com/pinch/commitdiff_plain/ee11f936d4f2ce49965c18c2d9837fe98dd614b7?hp=352cba96de3b4cd138ead4a765756fb169f40fe5 Show which files are unexpectedly incomparable --- diff --git a/Changelog b/Changelog index 77564f3..0f13a44 100644 --- a/Changelog +++ b/Changelog @@ -1,4 +1,6 @@ ## [Unreleased] +### Changed +- Show which files are unexpectedly incomparable ## [3.0.11] - 2023-05-24 diff --git a/pinch.py b/pinch.py index 5eb107b..6beb4e2 100644 --- a/pinch.py +++ b/pinch.py @@ -422,7 +422,9 @@ def compare_tarball_and_git( if ee in errors: errors.remove(ee) benign_errors.append(ee) - v.check(f'{len(errors)} unexpected incomparable files', len(errors) == 0) + v.check( + f'{len(errors)} unexpected incomparable files: {errors}', + len(errors) == 0) v.check( f'({len(benign_errors)} of {len(expected_errors)} expected incomparable files)', len(benign_errors) == len(expected_errors))