Re: [ANNOUNCE] Cogito-0.12
From: Russell King <hidden>
Date: 2016-06-15 22:42:01
On Sun, Jul 10, 2005 at 12:15:48AM -0700, Junio C Hamano wrote:
As a workaround until Cogito gets updated, would it help to have the environment variable GIT_ALTERNATE_OBJECT_DIRECTORIES pointing at the untouched copy of Linus tree's .git/objects/ directory? All your other trees would find the objects in your copied-Linus tree (including packed one) available to them already and hopefully pull breakage does not even have to touch those objects.
That seems to work, thanks. I think this is a good idea anyway - it seems to mean that each working tree ends up with an empty set of .git/objects/* directories. When new work is done in a tree, the corresponding objects then appear, and only these objects need transferring upstream. It means that rsync --delete-after can (in theory) be used when making changes available to the upstream maintainer. -- Russell King