Make git-send-pack exit with error when some refs couldn't be pushed out
commited24928e122bad83e62d161087f806fa21c46a59
authorPetr Baudis <pasky@suse.cz>
Wed, 14 Dec 2005 00:45:40 +0000 (14 01:45 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 14 Dec 2005 02:15:02 +0000 (13 18:15 -0800)
tree907f465252423e3a3ff6897ef4eaeb53729db3c0
parent9954f5b876abb6118f9bdf1d113239d86acca7bd
Make git-send-pack exit with error when some refs couldn't be pushed out

In case some refs couldn't be pushed out due to an error (mostly the
not-a-proper-subset error), make git-send-pack exit with non-zero status
after the push is over (that is, it still tries to push out the rest
of the refs).

[jc: I adjusted a test for this change.]

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
send-pack.c
t/t5400-send-pack.sh