diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-22 09:23:16 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-22 09:23:16 -0400 |
| commit | 82c81de7d1b0a75572b1c2cd7779d6f105501d6b (patch) | |
| tree | 45b73c2a7f2b16f5f64c60a2f348a1db8e69efc6 /scripts/theme-studio/face_data.py | |
| parent | ed32f94f3ff2480403eac4a3271523372e1eaefa (diff) | |
| download | dotemacs-82c81de7d1b0a75572b1c2cd7779d6f105501d6b.tar.gz dotemacs-82c81de7d1b0a75572b1c2cd7779d6f105501d6b.zip | |
fix(coverage): normalize report and diff paths before intersecting
simplecov reports absolute source paths while git diff emits repo-relative ones, so cj/--coverage-intersect joined them by exact key and matched nothing — every changed file read ":tracked nil" under the working-tree, staged, and branch scopes (whole-project worked only because both sides came from the same simplecov source). A new cj/--coverage-relativize-keys normalizes both tables to repo-relative in cj/--coverage-read-and-display before the intersect; the intersect stays pure. Covered by 5 unit tests plus an integration test that drives the real parsers with an absolute-key report and a relative-key diff.
Diffstat (limited to 'scripts/theme-studio/face_data.py')
0 files changed, 0 insertions, 0 deletions
