Nicolas Pitre <nico@xxxxxxx> writes: > On Fri, 9 May 2008, Brandon Casey wrote: > >> Unreferenced objects are sometimes used by other repositories which have >> this repository listed as an alternate. So it may not be a good idea to >> make the unreferenced objects inaccessible. > > Nah. If this is really the case then you shouldn't be running gc at all > in the first place. True. I think the true motivation behind --keep-unreachable is not about the shared object store (aka "alternates") but about races between gc and push (or fetch). Before push (or fetch) finishes and updates refs, the new objects they create would be dangling _and_ the objects these dangling objects refer to may be packed but unreferenced. Repacking unreferenced packed objects was a way to avoid losing them. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html