diff options
| author | Siddharth Shrimali <r.siddharth.shrimali@gmail.com> | 2026-08-14 01:38:27 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-08-13 13:34:49 -0700 |
| commit | 85531bbf298d9018aa9459df3a9110b62d3fbbc1 (patch) | |
| tree | ed07af6f92843d6a11a81466733eefca6e25c72c /contrib/persistent-https/socket.go | |
| parent | 401c3086712532395794cdc6899772a8de7aa07e (diff) | |
repack-promisor: allow excluding objects from the rebuilt promisor pack
Add a to_drop oidset parameter to repack_promisor_objects(). When it is
non-NULL, write_oid() omits those objects from the rebuilt promisor
pack. This is the mechanism --drop-filtered will use to remove promisor
blobs, i.e. rebuild the promisor pack without them.
All existing callers pass NULL, so behavior is unchanged.
Mentored-by: Christian Couder <christian.couder@gmail.com>
Mentored-by: Siddharth Asthana <siddharthasthana31@gmail.com>
Signed-off-by: Siddharth Shrimali <r.siddharth.shrimali@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/socket.go')
0 files changed, 0 insertions, 0 deletions
