Commit b7a28f7
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>1 parent 2099bca commit b7a28f7
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1422 | 1422 | | |
1423 | 1423 | | |
1424 | 1424 | | |
1425 | | - | |
1426 | | - | |
1427 | | - | |
1428 | | - | |
1429 | 1425 | | |
1430 | 1426 | | |
1431 | 1427 | | |
| |||
1439 | 1435 | | |
1440 | 1436 | | |
1441 | 1437 | | |
1442 | | - | |
| 1438 | + | |
1443 | 1439 | | |
1444 | 1440 | | |
1445 | 1441 | | |
1446 | 1442 | | |
1447 | 1443 | | |
1448 | 1444 | | |
1449 | 1445 | | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
1450 | 1450 | | |
1451 | 1451 | | |
1452 | 1452 | | |
| |||
0 commit comments