summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2020-01-06 23:53:13 -0500
committerJunio C Hamano <gitster@pobox.com>2020-01-27 12:56:02 -0800
commit37a63faae58aee5cd2dd9806d2e98c9ad998a7e5 (patch)
tree35946abb75fd55bdb053061d671d971643377215 /builtin/commit.c
parenta8c663cf65ae1e40c90bfd4a1dd3e8d1826eafbe (diff)
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions