Re: git submodule vs GIT_WORK_TREE
On Tue, Jun 26, 2012 at 8:27 PM, Jens Lehmann <Jens.Lehmann@web.de> wrote:
> Richard, could you please tell us what git commands behave strange
> in what way and what your expectations were?
A real-life example can be found at:
https://gist.github.com/2992239
lines 354 in the second and 353 in the third paste block.
Show 5 quoted lines
> As far as I can see all submodule code consistently clears all
> environment variables used by git before descending into a
> submodule (at least since February 2010 and 5ce9086dd). Maybe we
> should change that so it sets the GIT_WORK_TREE environment to
> "$GIT_WORK_TREE/submodule" to be consistent?
>From how I understand the problem, this would solve it.
--
Richard