Re: updating only changed files source directory?
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Oct 25, 2006, 19:35 UTC
- Message-ID
- <Pine.LNX.4.64.0610251525060.9789@iabervon.org>
- In-Reply-To
- <453F517A.7060000@xs4all.nl>
On Wed, 25 Oct 2006, Han-Wen Nienhuys wrote:
> How can I set the object database? I found GIT_OBJECT_DIRECTORY, but can I > write a config file entry for that?
If you clone with --shared, it'll do the right thing automatically, which is to have the clone's .git/objects/info/alternates be the objects directory of the bare repository.
(Note that any new objects you create in the clone go into the clone's own objects database. This shouldn't matter for you, unless your build system is tagging things or something, but if you end up doing development in a similarly structured system, it's worth knowing that this doesn't affect the bare repository at all.)
> yes, this works. Thanks!
No problem. :)
-Daniel