From ee11f936d4f2ce49965c18c2d9837fe98dd614b7 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Thu, 7 Sep 2023 13:36:46 -0700 Subject: [PATCH 1/1] Show which files are unexpectedly incomparable --- Changelog | 2 ++ pinch.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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)) -- 2.44.1