git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git submodule should honor "-c credential.helper" command line argument
@ 2016-02-02 17:13 Marc Strapetz
  2016-02-03  4:25 ` Jeff King
  0 siblings, 1 reply; 15+ messages in thread
From: Marc Strapetz @ 2016-02-02 17:13 UTC (permalink / raw)
  To: git

git -c credential.helper=helper submodule update --init submodule

does not invoke "helper", but falls back to the default strategies.
When configuring in ~/.gitconfig:

[credential]
   helper=helper

git submodule update --init submodule

works fine. This behavior is somewhat unexpected -- is this a bug or by 
intention? In case intention, what's the recommended way to "inject" 
credentials helpers to work on submodules without modifying Git's config 
files?

Tested with Git 2.5.0 (Windows).

-Marc

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-02-19 19:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-02 17:13 git submodule should honor "-c credential.helper" command line argument Marc Strapetz
2016-02-03  4:25 ` Jeff King
2016-02-03  7:35   ` Jacob Keller
2016-02-03  8:08     ` Marc Strapetz
2016-02-03 23:44   ` Jacob Keller
2016-02-07  4:41     ` Jacob Keller
2016-02-07 13:48       ` Marc Strapetz
2016-02-08  3:44         ` Jacob Keller
2016-02-19  1:15           ` Jacob Keller
2016-02-19  4:30             ` Jeff King
2016-02-19  7:29               ` Jacob Keller
2016-02-19  7:46                 ` Jeff King
2016-02-19  7:51                   ` Jacob Keller
2016-02-19 17:33               ` Junio C Hamano
2016-02-19 19:34                 ` Jacob Keller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).