diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-04-21 09:34:21 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-22 15:53:36 -0700 |
| commit | b94900a0cf20e213038102a4cbf072dec5b1bb18 (patch) | |
| tree | 2ec2125fcd8a2fe52fd18bb9d81f50b847595a84 /t/t4013/diff.format-patch_--inline_--stdout_initial..master^ | |
| parent | c1e29bcfa88fb8997379c3c7c888961b728e581d (diff) | |
| download | git-b94900a0cf20e213038102a4cbf072dec5b1bb18.tar.gz git-b94900a0cf20e213038102a4cbf072dec5b1bb18.zip | |
t0008: silence error in subshell when using `grep -v`
In t0008 we use `grep -v` in a subshell, but expect that this command
will sometimes not match anything. This would cause grep(1) to return an
error code, but given that we don't run with `set -e` we swallow this
error.
We're about to enable `set -e`. Prepare for this by ignoring any errors.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master^')
0 files changed, 0 insertions, 0 deletions
