Browse Source

zap a debug remnant

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Nicolas Pitre 18 years ago committed by Junio C Hamano
parent
commit
f130446920
  1. 1
      builtin-pack-objects.c

1
builtin-pack-objects.c

@ -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…
Cancel
Save