From: Junio C Hamano <hidden> Date: 2016-06-15 22:45:07
Thanks for reporting and a quick fix.
This made me wonder if this relatively new "pack cloned refs" codepath has
funny interaction with --reference which is another user of add_extra_refs(),
but I think it is safe (we clear the real "extra" ones used during the
object transfer before calling write_remote_refs()).