Merge branch 'tb/gc-recent-object-hook'
commit58ecb2e3838b1dfd9c3705de88dcd491fa4e44fc
authorJunio C Hamano <gitster@pobox.com>
Fri, 23 Jun 2023 18:21:17 +0000 (23 11:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Jun 2023 18:21:17 +0000 (23 11:21 -0700)
tree6c7c6b7fd9d9866908fb68c53847aceb3915b7a0
parent891e631401268ba513d903e0646c2967d629a8d9
parent4dc16e2cb05fa467c3ef507679ae625f785770cf
Merge branch 'tb/gc-recent-object-hook'

"git pack-objects" learned to invoke a new hook program that
enumerates extra objects to be used as anchoring points to keep
otherwise unreachable objects in cruft packs.

* tb/gc-recent-object-hook:
  gc: introduce `gc.recentObjectsHook`
  reachable.c: extract `obj_is_recent()`
t/t5304-prune.sh