zap a debug remnant
Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
e4fe4b8ef7
commit
f130446920
@ -440,7 +440,6 @@ static unsigned long write_object(struct sha1file *f,
|
|||||||
+ entry->in_pack_header_size;
|
+ entry->in_pack_header_size;
|
||||||
datalen = find_packed_object_size(p, entry->in_pack_offset)
|
datalen = find_packed_object_size(p, entry->in_pack_offset)
|
||||||
- entry->in_pack_header_size;
|
- entry->in_pack_header_size;
|
||||||
//fprintf(stderr, "reusing %d at %d header %d size %d\n", obj_type, entry->in_pack_offset, entry->in_pack_header_size, datalen);
|
|
||||||
if (!pack_to_stdout && check_inflate(buf, datalen, entry->size))
|
if (!pack_to_stdout && check_inflate(buf, datalen, entry->size))
|
||||||
die("corrupt delta in pack %s", sha1_to_hex(entry->sha1));
|
die("corrupt delta in pack %s", sha1_to_hex(entry->sha1));
|
||||||
sha1write(f, buf, datalen);
|
sha1write(f, buf, datalen);
|
||||||
|
Loading…
Reference in New Issue
Block a user