Re: [ANNOUNCE] Cogito-0.12
- From
- Russell King <rmk@arm.linux.org.uk>
- Date
- Jul 10, 2005, 12:46 UTC
- Message-ID
- <20050710134624.B3279@flint.arm.linux.org.uk>
- In-Reply-To
- <7v4qb3uo63.fsf@assigned-by-dhcp.cox.net>
On Sun, Jul 10, 2005 at 12:15:48AM -0700, Junio C Hamano wrote:
Show 7 quoted lines
> 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