зеркало из https://github.com/microsoft/git.git
git-unpack-objects: start removing debug output
At least the least interesting one.
This commit is contained in:
Родитель
c4fb06c0d0
Коммит
641e1cac73
|
@ -148,7 +148,6 @@ static int find_pack_entry(unsigned char *sha1, struct pack_entry **ent)
|
||||||
do {
|
do {
|
||||||
int mi = (lo + hi) / 2;
|
int mi = (lo + hi) / 2;
|
||||||
int cmp = memcmp(index + 24 * mi + 4, sha1, 20);
|
int cmp = memcmp(index + 24 * mi + 4, sha1, 20);
|
||||||
printf("lo=%d mi=%d hi=%d cmp=%d\n", lo, mi, hi, cmp);
|
|
||||||
if (!cmp) {
|
if (!cmp) {
|
||||||
*ent = index + 24 * mi;
|
*ent = index + 24 * mi;
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче