summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-12-20 10:15:53 -0800
committerJunio C Hamano <gitster@pobox.com>2019-12-20 11:30:44 -0800
commitf6041abdcd7bfefed1cbe14cbe221f0e848cbec4 (patch)
treef951dab8c1cac2085c9c483170368bdd5ed2d312 /builtin/commit.c
parentf46c243e669f5f1e6ef2f25000d5a5f593d2e1f3 (diff)
t0020: don't use `test_must_fail has_cr`
The test_must_fail function should only be used for git commands since we should assume that external commands work sanely. Since has_cr() just wraps a tr and grep pipeline, replace `test_must_fail has_cr` with `! has_cr`. 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