Re: GIT_WORK_TREE and GIT_DIR with git clone

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

 



Cosmin Apreutesei <cosmin.apreutesei@xxxxxxxxx> writes:

> I would like to be able to tell my users that they can simply do:
>
> git clone --git-dir=_/git/module1/.git module1-url
> git clone --git-dir=_/git/module2/.git module2-url
>
> which will overlay the files from both modules into the current
> directory, which from git's perspective is the work-tree for both
> modules.

Would there be a sensible semantics in the resulting working tree?
Which repository would a new file in such a combined working tree
belong to?
--
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]