diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2021-08-21 08:36:34 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-25 11:45:54 -0700 |
commit | 1549577338c7c3a4455e9b3f05f9c8740b8e5337 (patch) | |
tree | 3c039efbc1f501f35dabee5c46d8cf669f9762dc /thread-utils.c | |
parent | t6300: don't run cat-file on non-existent object (diff) | |
download | tgif-1549577338c7c3a4455e9b3f05f9c8740b8e5337.tar.xz |
t6300: check for cat-file exit status code
In test_atom(), we're piping the output of cat-file to tail(1),
thus, losing its exit status.
Let's use a temporary file to preserve git exit status code.
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'thread-utils.c')
0 files changed, 0 insertions, 0 deletions