diff options
author | Jeff King <peff@peff.net> | 2019-04-05 14:04:56 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-16 16:58:21 +0900 |
commit | b4a14394af96b6a87a722ffb57666bb1edc001b9 (patch) | |
tree | bc57743aa03a248187678c4ca3046ee7f02e9c6b /kwset.c | |
parent | pack-revindex: open index if necessary (diff) | |
download | tgif-b4a14394af96b6a87a722ffb57666bb1edc001b9.tar.xz |
t5319: fix bogus cat-file argument
There's no such argument as "--unsorted"; it's spelled "--unordered".
But our test failed to notice that cat-file didn't run at all because:
1. It lost the exit code of git on the left-hand side of a pipe.
2. It was comparing two runs of the broken invocation with and without
a particular config variable (and indeed, both cases produced no
output!).
Let's fix the option, but also tweak the helper function to check the
exit code.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'kwset.c')
0 files changed, 0 insertions, 0 deletions