t5543: never report what we do not push
commit865e23f532fc78d207cf81587deee9f861c7a5aa
authorJiang Xin <zhiyou.jx@alibaba-inc.com>
Fri, 17 Apr 2020 09:45:33 +0000 (17 05:45 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Apr 2020 19:16:31 +0000 (17 12:16 -0700)
treed146a3632bc4ba2fe2211efef74f55b9e49553cd
parent7dcbeaa0df01661f31a0d93e5d5787a5d3767358
t5543: never report what we do not push

When we push some references to the git server, we expect git to report
the status of the references we are pushing; no more, no less.  But when
pusing with atomic mode, if some references cannot be pushed, Git reports
the reject message on all references in the remote repository.

Add new test cases in t5543, and fix them in latter commit.

Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5543-atomic-push.sh