Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
transport: simplify duplicating a substring in transport_get() using xmemdupz()
[gitweb.git]
/
sha1-lookup.c
diff --git
a/sha1-lookup.c
b/sha1-lookup.c
index 2dd851598a9d1444fe479d149ee3c2cb93e8cba9..5f069214d9060da8ceb001e6c037607c1d0096bf 100644
(file)
--- a/
sha1-lookup.c
+++ b/
sha1-lookup.c
@@
-84,8
+84,6
@@
int sha1_pos(const unsigned char *sha1, void *table, size_t nr,
die("BUG: assertion failed in binary search");
}
}
- if (18 <= ofs)
- die("cannot happen -- lo and hi are identical");
}
do {