summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorGhanshyam Thakkar <shyamthakkar001@gmail.com>2024-01-19 09:03:34 +0530
committerJunio C Hamano <gitster@pobox.com>2024-01-20 09:20:39 -0800
commitd262bfa3021a6ae6f2de37c433345fb44dea2bca (patch)
treec4c6e4f4be0f1e3fdeb6a6730920e7e025440a0f /contrib/persistent-https
parent186b115d3062e6230ee296d1ddaa0c4b72a464b5 (diff)
downloadgit-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 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions