diff options
author | Patrick Steinhardt <ps@pks.im> | 2025-02-03 07:29:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-02-03 15:24:58 -0800 |
commit | 60c208db584c5a1558acaef9c2ba2fdf15999bc9 (patch) | |
tree | c8e1fe26a4f9d6aed8624efbf6fc8d0907be8fdc /commit.c | |
parent | 3028db4af289560e670b9f362aea16eaf3d1825e (diff) |
t5543: atomic push reports exit code failure
Add new test cases in t5543 to avoid ignoring the exit code of
git-receive-pack(1) during atomic push with "--porcelain" flag.
We'd typically notice this case because the refs would have their error
message set. But there is an edge case when pushing refs succeeds, but
git-receive-pack(1) exits with a non-zero exit code at a later point in
time due to another error. An atomic git-push(1) would ignore that error
code, and consequently it would return successfully and not print any
error message at all.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions