Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
merge-file: handle freopen() failure
[gitweb.git]
/
pack-revindex.c
diff --git
a/pack-revindex.c
b/pack-revindex.c
index 6096b6224ad551086afa346617eb714c15a51f78..1de53c8934c03b46604e94cbf4237ad5ffc57f83 100644
(file)
--- 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)