From: Jacob Keller Date: Wed, 03 Feb 2016 07:35:07 GMT Subject: Re: git submodule should honor "-c credential.helper" command line argument Message-ID: In-Reply-To: <20160203042554.GA21179@sigill.intra.peff.net> On Tue, Feb 2, 2016 at 8:25 PM, Jeff King wrote: > I think the problem is that when git "switches" to working in the > submodule repository, it clears the environment, which includes any "-c" > command switches. This makes sense for some situations, but not for > others. This thread shows a similar problem: > > http://thread.gmane.org/gmane.comp.version-control.git/264840 > > Jens suggested there adding an option to tell clone to pass specific > variables to the submodule, which I think makes sense. AFAIK, nobody has > done any work yet on that approach. > This is something that I am also interested in, haven't had a chance to look at it just yet though. I may have some time soon to take a stab at this. Regards, Jake