[PATCH] git-rev-list: avoid crash on broken repository
authorSergey Vlasov <vsu@altlinux.ru>
Fri, 19 Aug 2005 18:28:35 +0000 (22:28 +0400)
committerJunio C Hamano <junkio@cox.net>
Fri, 19 Aug 2005 20:07:43 +0000 (13:07 -0700)
commit7f1335c74c4ba0baac8649974e95f6e6f84f8632
tree247e1fc63daef1cc5a8d541afee86552ef4c1203
parentcc5625a5e2e10a94560347333c43b7032c2566f3
[PATCH] git-rev-list: avoid crash on broken repository

When following tags, check for parse_object() success and error out
properly instead of segfaulting.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-list.c