diff options
| author | Jeff King <peff@peff.net> | 2026-03-23 02:02:05 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-23 07:42:26 -0700 |
| commit | 05002f60565cdfe2b86108c7f7c027a41d534140 (patch) | |
| tree | 1b9631d4a6cc7b83923fcd4dcad626f5700bccbf /contrib/diff-highlight/DiffHighlight.pm | |
| parent | 550097a645348426a3e5944d0457925381ff8e23 (diff) | |
| download | git-05002f60565cdfe2b86108c7f7c027a41d534140.tar.xz | |
diff-highlight: check diff-highlight exit status in tests
When testing diff-highlight, we pipe the output through a sanitizing
function. This loses the exit status of diff-highlight itself, which
could mean we are missing cases where it crashes or exits unexpectedly.
Use an extra tempfile to avoid the pipe.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/diff-highlight/DiffHighlight.pm')
0 files changed, 0 insertions, 0 deletions
