summaryrefslogtreecommitdiff
path: root/diffcore-rotate.c
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2024-11-01 13:11:46 -0700
committerJunio C Hamano <gitster@pobox.com>2024-11-02 04:08:20 -0700
commit78995ff57c6a8713f198fecc03cf5a6e530af45c (patch)
treefe0ba61d5e0cdd3f07543f7a065bcc39256fa345 /diffcore-rotate.c
parentda80429cef00ff697bb42ba6a935bc56b8a386c7 (diff)
t0410: use from-scratch server
A subsequent commit will add functionality: when fetching from a promisor remote, existing non-promisor objects that are ancestors of any fetched object will be repacked into promisor packs (since if a promisor remote has an object, it also has all its ancestors). This means that sometimes, a fetch from a promisor remote results in 2 new promisor packs (instead of the 1 that you would expect). There is a test that fetches a descendant of a local object from a promisor remote, but also specifically tests that there is exactly 1 promisor pack as a result of the fetch. This means that this test will fail when the subsequent commit is added. Since the ancestry of the fetched object is not the concern of this test, make the fetched objects have no ancestry in common with the objets in the client repo. This is done by making the server from scratch, instead of using an existing repo that has objects in common with the client. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-rotate.c')
0 files changed, 0 insertions, 0 deletions