Junio C Hamano <junkio@xxxxxxx> wrote: > Ah, that's true. If you "git clone -l -s A B", create new > objects in A and pull from B, the transfer would not exclude > new objects as they are not visible from B's refs. > > In that scenario, the keep-pack behaviour is already worse than > the unpack-objects behaviour. The former creates a packfile > that duplicates objects that are in A while the latter, although > expensive, ends up doing nothing. > > I wonder if we can have a backdoor to avoid any object transfer > in such a case to begin with... Yea, symlink to the corresponding refs directory of the alternate ODB. Then the refs will be visible. ;-) -- Shawn. - 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