From: Richard Hartmann Date: Fri, 29 Jun 2012 09:10:31 GMT Subject: Re: git submodule vs GIT_WORK_TREE Message-ID: In-Reply-To: <4FE9FF0C.8050409@web.de> On Tue, Jun 26, 2012 at 8:27 PM, Jens Lehmann 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. > 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