Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] send-pack: Filter unknown commits from alternates of the remote

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:02

Björn Steinbrink [off-list ref] writes:
Since 40c155ff14c, receive-pack on the remote also sends refs from its
alternates. Unfortunately, we don't filter commits that don't exist in the
local repository from that list.  This made us pass those unknown commits
to pack-objects, causing it to fail with a "bad object" error.
Yeah, it is a step in the right direction, but is the *wrong* fix I
described in my previous message.

Our mails crossed ;-)

And I think we should have this in the place where we receive .have,
i.e. inside add_extra_have() in connect.c
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help