diff options
author | Taylor Blau <me@ttaylorr.com> | 2021-08-30 05:48:52 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-30 09:23:39 +0300 |
commit | a241878ac7b67b1894c14d3c3e33ed13f11ae253 (patch) | |
tree | 84c18dcc4b130740020122fb075e71890e928279 /builtin/pack-objects.c | |
parent | c4203212e360b25a1c69467b5a8437d45a373cac (diff) |
object-store.h: teach for_each_packed_object to ignore kept packs
The next patch will reimplement a function that wants to iterate over
packed objects while ignoring packs which are marked as kept (either
in-core or on-disk).
Teach for_each_packed_object() to ignore all objects from those packs by
adding a new flag for each of the "kept" states that a pack can be in.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pack-objects.c')
0 files changed, 0 insertions, 0 deletions