git-fetch: exit with non-zero status when fast-forward check fails
commitf64d7fd267c501f501e18a888e3e1e0c5b56458f
authorJunio C Hamano <junkio@cox.net>
Sat, 25 Nov 2006 09:04:28 +0000 (25 01:04 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 25 Nov 2006 09:04:28 +0000 (25 01:04 -0800)
treec366777d265bf962dccc7668e3475bc5b07a7b03
parentd25c26e771fdf771f264dc85be348719886d354f
git-fetch: exit with non-zero status when fast-forward check fails

When update_local_ref() refuses to update a branch head due to
fast-forward check, it was not propagated properly in the call
chain and the command did not exit with non-zero status as a
result.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch.sh