Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add_ref(): take a (struct ref_entry *) parameter
[gitweb.git]
/
sha1-lookup.c
diff --git
a/sha1-lookup.c
b/sha1-lookup.c
index 055dd87dc177864491905c692907ebbce059ae7e..c4dc55d1f5cd07adcf46865354f841cc587c51f6 100644
(file)
--- a/
sha1-lookup.c
+++ b/
sha1-lookup.c
@@
-81,7
+81,7
@@
int sha1_pos(const unsigned char *sha1, void *table, size_t nr,
mi = (nr - 1) * (miv - lov) / (hiv - lov);
if (lo <= mi && mi < hi)
break;
- die("
oops
");
+ die("
BUG: assertion failed in binary search
");
}
}
if (18 <= ofs)