]> git.ipfire.org Git - thirdparty/git.git/commit - transport.h
transport-helper: new method reject_atomic_push()
authorJiang Xin <zhiyou.jx@alibaba-inc.com>
Fri, 17 Apr 2020 09:45:36 +0000 (05:45 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Apr 2020 19:16:32 +0000 (12:16 -0700)
commitdfe1b7f19c04fd10e9bafce91bc1da0c18bbb194
tree4f71c2429249967f3c5fe3305b7d26e4a1026e23
parentf38b16843dcbb575803dfeab39a4172b7469411d
transport-helper: new method reject_atomic_push()

Add new method in transport-helper to reject all references if any
reference is failed for atomic push.

This method is reused in "send-pack.c" and "transport-helper.c", one for
SSH, git and file protocols, and the other for HTTP protocol.

Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
send-pack.c
transport-helper.c
transport.h