Commit 3ce4ca0
multi-pack-index: respect repack.packKeptObjects=false
When selecting a batch of pack-files to repack in the "git
multi-pack-index repack" command, Git should respect the
repack.packKeptObjects config option. When false, this option says that
the pack-files with an associated ".keep" file should not be repacked.
This config value is "false" by default.
There are two cases for selecting a batch of objects. The first is the
case where the input batch-size is zero, which specifies "repack
everything". The second is with a non-zero batch size, which selects
pack-files using a greedy selection criteria. Both of these cases are
updated and tested.
Reported-by: Son Luong Ngoc <sluongng@gmail.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent e11d86d commit 3ce4ca0
File tree
3 files changed
+51
-5
lines changed- Documentation
- t
3 files changed
+51
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1293 | 1293 | | |
1294 | 1294 | | |
1295 | 1295 | | |
1296 | | - | |
| 1296 | + | |
| 1297 | + | |
1297 | 1298 | | |
1298 | 1299 | | |
1299 | | - | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
1300 | 1310 | | |
1301 | | - | |
1302 | 1311 | | |
| 1312 | + | |
| 1313 | + | |
1303 | 1314 | | |
1304 | | - | |
| 1315 | + | |
1305 | 1316 | | |
1306 | 1317 | | |
1307 | 1318 | | |
| |||
1312 | 1323 | | |
1313 | 1324 | | |
1314 | 1325 | | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
1315 | 1329 | | |
1316 | 1330 | | |
1317 | 1331 | | |
| |||
1338 | 1352 | | |
1339 | 1353 | | |
1340 | 1354 | | |
| 1355 | + | |
| 1356 | + | |
1341 | 1357 | | |
1342 | 1358 | | |
1343 | 1359 | | |
| |||
1386 | 1402 | | |
1387 | 1403 | | |
1388 | 1404 | | |
1389 | | - | |
| 1405 | + | |
1390 | 1406 | | |
1391 | 1407 | | |
1392 | 1408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
541 | 568 | | |
542 | 569 | | |
543 | 570 | | |
| |||
0 commit comments