Code

Don't coredump on bad refs in update-server-info.
authorShawn O. Pearce <spearce@spearce.org>
Wed, 31 Jan 2007 07:24:44 +0000 (02:24 -0500)
committerJunio C Hamano <junkio@cox.net>
Wed, 31 Jan 2007 21:09:58 +0000 (13:09 -0800)
commit76f8a302c73d7fe26b2034ab4d1dde64de39c8df
treeb114257e7a90a53649d4c5a3a9df06987e1f17dd
parentd117452a801af081ebaf2c516e2d715eacf37601
Don't coredump on bad refs in update-server-info.

Apparently if we are unable to parse an object update-server-info
coredumps, as it doesn't bother to check the return value of its
call to parse_object.

Instead of coredumping, skip the ref.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
server-info.c