Avoid misleading success message on error
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 21 Dec 2005 16:53:29 +0000 (17:53 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 21 Dec 2005 20:22:43 +0000 (12:22 -0800)
commit9470657ad0d0472e3e3c2e352334f60e7bd777c1
tree9d8e1fe1eab8d33cefdb1190e70bb6916db00a19
parent455c161c47542de7e67d2ba48bba637e5a645388
Avoid misleading success message on error

When a push fails (for example when the remote head does not fast forward
to the desired ref) it is not correct to print "Everything up-to-date".

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
send-pack.c