mbox series

[v4,0/3] repack: pack everything into promisor packfile in partial repos

Message ID 20241014032546.68427-1-hanyang.tony@bytedance.com (mailing list archive)
Headers show
Series repack: pack everything into promisor packfile in partial repos | expand

Message

Han Young Oct. 14, 2024, 3:25 a.m. UTC
Changes from v3:
- rebased to master: ef8ce8f3d4 (Start the 2.48 cycle, 2024-10-10)

Note that this series breaks tests on branch seen, the test introduced by
bc0c4e1637 (promisor-remote: check advertised name or URL, 2024-09-10)
relies on the current repack behavior. I will provide an additional patch
if both land in master.

This series doesn't address the underlying problem with promisor objects,
but rather mitigates the "repack removes local objects" problem.
Until a satisfiable solution can be found[1], this would at least prevent
more promisor repos from becoming corrupted.

[1] https://lore.kernel.org/git/20241001191811.1934900-1-calvinwan@google.com/

Han Young (3):
  repack: pack everything into packfile
  t0410: adapt tests to repack changes
  partial-clone: update doc

 Documentation/technical/partial-clone.txt | 16 ++++--
 builtin/repack.c                          | 46 ++++++++++++---
 t/t0410-partial-clone.sh                  | 68 +----------------------
 t/t5616-partial-clone.sh                  |  9 +--
 4 files changed, 53 insertions(+), 86 deletions(-)