Code

write_remote_refs(): create packed (rather than extra) refs