diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-04-06 15:42:49 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-06 15:42:49 -0700 |
| commit | 03311dca7f91f69e9e0c532fce1c1e3c0a9fa34d (patch) | |
| tree | 99942cb6e498bd5ff78b17ea65618125372e3876 /packfile.h | |
| parent | d75badf83bc3fc8e47413970874bac681eeb5bbe (diff) | |
| parent | 9ad29df36d7c762677b5a4ecc6a6dc229c818b2a (diff) | |
| download | git-03311dca7f91f69e9e0c532fce1c1e3c0a9fa34d.tar.xz | |
Merge branch 'tb/stdin-packs-excluded-but-open'
pack-objects's --stdin-packs=follow mode learns to handle
excluded-but-open packs.
* tb/stdin-packs-excluded-but-open:
repack: mark non-MIDX packs above the split as excluded-open
pack-objects: support excluded-open packs with --stdin-packs
t7704: demonstrate failure with once-cruft objects above the geometric split
pack-objects: refactor `read_packs_list_from_stdin()` to use `strmap`
pack-objects: plug leak in `read_stdin_packs()`
Diffstat (limited to 'packfile.h')
| -rw-r--r-- | packfile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packfile.h b/packfile.h index 45b35973f0..6e8802e2ed 100644 --- a/packfile.h +++ b/packfile.h @@ -28,6 +28,7 @@ struct packed_git { unsigned pack_local:1, pack_keep:1, pack_keep_in_core:1, + pack_keep_in_core_open:1, freshened:1, do_not_close:1, pack_promisor:1, @@ -266,6 +267,7 @@ int packfile_store_freshen_object(struct packfile_store *store, enum kept_pack_type { KEPT_PACK_ON_DISK = (1 << 0), KEPT_PACK_IN_CORE = (1 << 1), + KEPT_PACK_IN_CORE_OPEN = (1 << 2), }; /* |
