Re: git clone ignores GIT_ALTERNATE_OBJECT_DIRECTORIES

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

 



Brian Ristuccia <brian@xxxxxxxxxxxxx> writes:

> Is this behavior intentional for some good reason I've overlooked, or have I
> stumbled on a bug?

Most likely not a bug.

When you talk about "clone", you need to realize that there actually are
two repositories (and two object databases) involved: cloned source and
destination.

Which repository should GIT_ALTERNATE_OBJECT_DIRECTORIES affect?

If you are making a clone from a remote over the network, and if you
already have another local repository of a related project that has
necessary objects, you may want to look at

    "git clone --reference"

--
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]