X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=pack-revindex.c;h=1de53c8934c03b46604e94cbf4237ad5ffc57f83;hb=5b841d61c428bc8dbb9e3b5afd12781aff51eb2a;hp=6096b6224ad551086afa346617eb714c15a51f78;hpb=ce785c5944847cd108512672021b32f7c381b756;p=git.git diff --git a/pack-revindex.c b/pack-revindex.c index 6096b6224..1de53c893 100644 --- a/pack-revindex.c +++ b/pack-revindex.c @@ -140,7 +140,8 @@ struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs) else lo = mi + 1; } while (lo < hi); - die("internal error: pack revindex corrupt"); + error("bad offset for revindex"); + return NULL; } void discard_revindex(void)