]> git.99rst.org Git - git.git/commit
t6101: avoid suppressing git's exit code
authorTrieu Huynh <redacted>
Sat, 28 Mar 2026 13:59:35 +0000 (22:59 +0900)
committerJunio C Hamano <redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t6101-rev-parse-parents.sh
git clone https://git.99rst.org/PROJECT