summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-01-24 19:06:24 -0500
committerJunio C Hamano <gitster@pobox.com>2020-01-28 14:41:39 -0800
commite5d7b2f65cadf9caa2097083b3bed4f6bce32fb9 (patch)
treeee795cef0e50926ae80d26e07286ae5b6b4e206c /builtin/commit.c
parenta0ba80001a42eeacae94e3503c3e7d4bf7f2f2e1 (diff)
t1400: avoid "test" string comparisons
Using the shell "test" here is inflexible, because we can't easily swap it out for an i18n-aware version like we can with test_cmp and test_i18ncmp. And it's not even saving us any processes, since we have to use "cat" to get the output. So let's switch to using test_cmp, which has the added bonus that it will produce better output if there's a failure. Note that not all of the changed outputs here are candidates for translation, but I've converted all of them for consistency and to benefit from the better output. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions