Fix potential repo corruption on migration

Don't set the new objstore repo as our alternates before fetching all
the objects into it that don't belong to our previous parent. This only
happens when there are objects in our previous altdir that we're
borrowing but aren't part of the parent itself.

Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
1 file changed