Re: updating only changed files source directory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
*This .sig left intentionally blank*
-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]