]> Kevux Git Server - rit/commit
t6101: avoid suppressing git's exit code
authorTrieu Huynh <vikingtc4@gmail.com>
Sat, 28 Mar 2026 13:59:35 +0000 (22:59 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Mar 2026 18:40:13 +0000 (11:40 -0700)
commit849988bc7499d11f127305a8f20a3a054eb0b0c0
treef58d6221ee057bc1e34607a730f7d5bc605b28fb
parent67ad42147a7acc2af6074753ebd03d904476118f
t6101: avoid suppressing git's exit code

Update t6101-rev-parse-parents.sh to redirect git-rev-parse
output to a temporary file instead of piping it directly to
not hide the exit code of git commands behind pipes, as a
crash in git might go unnoticed.

Signed-off-by: Trieu Huynh <vikingtc4@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6101-rev-parse-parents.sh