Re: GIT_WORK_TREE and GIT_DIR with git clone

2014-01-21 Thread Cosmin Apreutesei
Hi, thanks for answering. >> 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 fr

Re: GIT_WORK_TREE and GIT_DIR with git clone

2014-01-21 Thread Junio C Hamano
Cosmin Apreutesei 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