summaryrefslogtreecommitdiff
path: root/replace-object.c
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2020-01-06 23:53:13 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-27 12:56:02 -0800
commit37a63faae58aee5cd2dd9806d2e98c9ad998a7e5 (patch)
tree35946abb75fd55bdb053061d671d971643377215 /replace-object.c
parentt3507: use test_path_is_missing() (diff)
downloadtgif-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 'replace-object.c')
0 files changed, 0 insertions, 0 deletions