Thread View: linux.kernel.git
1 messages
1 total messages
Started by Junio C Hamano
Thu, 15 Oct 2026 17:25
Re: [PATCH v2 2/2] odb: ignore refs of shallow and grafted alternates
Author: Junio C Hamano
Date: Thu, 15 Oct 2026 17:25
Date: Thu, 15 Oct 2026 17:25
19 lines
10416 bytes
10416 bytes
Jeff King <peff@peff.net> writes: > The thread has been talking about check_connected(), but the same > problem applies to advertising alternates for transfer. But your fix > here takes care of both, because it works at the lowest level. Good. ;-) > This is a direct test of --alternate-refs, which is probably reasonable > and the simplest way of doing it. I think you could also construct a > case where a fetch or push causes the recipient repo to be corrupted (it > claimed to have object X because of the alternate, so the other side > didn't send it, but since _we're_ not shallow, now fsck, etc, fails). > But I don't think there's a particular need to construct that full case > for the tests. Yeah, thanks for thinking it through thoroughly. I appreciate it very much.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads