send-pack/receive-pack: allow errors to be reported back to pusher.
commitcfee10a773be0f8d0024f2567164c910d4213244
authorJunio C Hamano <junkio@cox.net>
Mon, 26 Dec 2005 07:18:37 +0000 (25 23:18 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Dec 2005 02:04:14 +0000 (27 18:04 -0800)
tree7f8562e817c43a9b614d3cc1628e8321a2e63b09
parent9b88fcef7dd6327cc3aba3927e56fef6f6c4d628
send-pack/receive-pack: allow errors to be reported back to pusher.

This updates the protocol between git-send-pack/git-receive-pack
in a backward compatible way to allow failures at the receiving
end to be propagated back to the sender.  Most notably, versions
of git-push before this could not notice if the update hook on
the receiving end refused to update the ref for its own policy
reasons.

Signed-off-by: Junio C Hamano <junkio@cox.net>
connect.c
receive-pack.c
send-pack.c