[PATCH v3 0/3] repack: pack everything into promisor packfile in partial repos
- From
Han Young <hanyang.tony@bytedance.com>
- Date
- Oct 11, 2024, 08:24 UTC
- Message-ID
- <20241011082404.88939-1-hanyang.tony@bytedance.com>
- In-Reply-To
- <20240802073143.56731-1-hanyang.tony@bytedance.com>
Changes since v2: - rebased to seen: 89afaf27d3 (Merge branch 'ak/typofixes' into seen, 2024-10-10) - fixed t5710, "repack all" affects how the test repo is initialized - use goto to skip normal repack
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 repack: 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 +-- t/t5710-promisor-remote-capability.sh | 15 ++++- 5 files changed, 65 insertions(+), 89 deletions(-)
-- 2.47.0.266.g0b04b6b485.dirty