]> git.scottworley.com Git - pinch/commitdiff
Show which files are unexpectedly incomparable
authorScott Worley <scottworley@scottworley.com>
Thu, 7 Sep 2023 20:36:46 +0000 (13:36 -0700)
committerScott Worley <scottworley@scottworley.com>
Thu, 7 Sep 2023 20:39:10 +0000 (13:39 -0700)
Changelog
pinch.py

index 77564f3cccc31ba32595d4becbb6ae12db59d035..0f13a44b8de98da7a9802dd32db5e485a68770f3 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,4 +1,6 @@
 ## [Unreleased]
+### Changed
+- Show which files are unexpectedly incomparable
 
 
 ## [3.0.11] - 2023-05-24
index 5eb107bb6d7767e5e32271d98689305f17ff9dd8..6beb4e25c59ee4ab0147c92ea7a9ee3f58b22588 100644 (file)
--- 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))