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