summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-12-08 01:27:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-12-08 11:38:35 (GMT)
commitb7a28f7827ba1043501fe357cbbdff3f2e357143 (patch)
tree49133e60e490ffc62140bbf2d396de0491c7e25c /perl
parent2099bca9ed06a4cb7ab0b8ca38bc90df5632ba41 (diff)
downloadgit-b7a28f7827ba1043501fe357cbbdff3f2e357143.zip
git-b7a28f7827ba1043501fe357cbbdff3f2e357143.tar.gz
git-b7a28f7827ba1043501fe357cbbdff3f2e357143.tar.bz2
pack-objects: fix delta cache size accounting
The wrong value was substracted from delta_cache_size when replacing a cached delta, as trg_entry->delta_size was used after the old size had been replaced by the new size. Noticed by Linus. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'perl')
0 files changed, 0 insertions, 0 deletions