transport.c::transport_push(): make ref status affect return value
commit4232826771d5bdc4cc0bd21188b6ee5f3e700a52
authorTay Ray Chuan <rctay89@gmail.com>
Fri, 8 Jan 2010 02:12:43 +0000 (8 10:12 +0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Jan 2010 07:34:10 +0000 (9 23:34 -0800)
tree2e314c980e28f780943de81b8aeb618b77766a24
parent20e8b465a53e651cc3f50bd60f39d577ecdb7722
transport.c::transport_push(): make ref status affect return value

Use push_had_errors() to check the refs for errors and modify the
return value.

Mark the non-fast-forward push tests to succeed.

Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5541-http-push.sh
transport.c