diff options
author | Denton Liu <liu.denton@gmail.com> | 2020-01-06 23:53:13 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-27 12:56:02 -0800 |
commit | 37a63faae58aee5cd2dd9806d2e98c9ad998a7e5 (patch) | |
tree | 35946abb75fd55bdb053061d671d971643377215 /ref-filter.c | |
parent | t3507: use test_path_is_missing() (diff) | |
download | tgif-37a63faae58aee5cd2dd9806d2e98c9ad998a7e5.tar.xz |
t4124: only mark git command with test_must_fail
The test_must_fail function should only be used for git commands since
we should assume that external commands work sanely. Since apply_patch
wraps a sed and git invocation, rewrite it to accept an `!` argument
which would cause only the git command to be prefixed with
`test_must_fail`.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.c')
0 files changed, 0 insertions, 0 deletions