diff options
| author | Ghanshyam Thakkar <shyamthakkar001@gmail.com> | 2024-01-19 09:03:34 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-01-20 09:20:39 -0800 |
| commit | d262bfa3021a6ae6f2de37c433345fb44dea2bca (patch) | |
| tree | c4c6e4f4be0f1e3fdeb6a6730920e7e025440a0f /blob.c | |
| parent | The eighth batch (diff) | |
| download | git-d262bfa3021a6ae6f2de37c433345fb44dea2bca.tar.gz git-d262bfa3021a6ae6f2de37c433345fb44dea2bca.zip | |
t0024: avoid losing exit status to pipes
Replace pipe with redirection operator '>' to store the output
to a temporary file after 'git archive' command since the pipe
will swallow the command's exit code and a crash won't
necessarily be noticed.
Also fix an unwanted space after redirection '>' to match the
style described in CodingGuidelines.
Signed-off-by: Ghanshyam Thakkar <shyamthakkar001@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'blob.c')
0 files changed, 0 insertions, 0 deletions
