My use case is an army of build agents that need only limited and selective access to otherwise private repositories. v6 supports submodules better by allowing git -c http.extraheader submodule update to work as one would expect intuitively. Johannes Schindelin (2): http: support sending custom HTTP headers submodule: pass on http.extraheader config settings Documentation/config.txt | 6 ++++++ builtin/submodule--helper.c | 3 ++- http-push.c | 10 +++++----- http.c | 35 ++++++++++++++++++++++++++++++++--- http.h | 1 + remote-curl.c | 4 ++-- t/lib-httpd/apache.conf | 8 ++++++++ t/t5551-http-fetch-smart.sh | 16 ++++++++++++++++ 8 files changed, 72 insertions(+), 11 deletions(-) Interdiff vs v5: diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index b338f93..789e081 100644 --- a/builtin/submodule--helper.c +++ b/builtin/submodule--helper.c @@ -128,8 +128,7 @@ static int module_name(int argc, const char **argv, const char *prefix) static int submodule_config_ok(const char *var) { if (starts_with(var, "credential.") || - (starts_with(var, "http.") && - ends_with(var, ".extraheader"))) + (starts_with(var, "http.") && ends_with(var, ".extraheader"))) return 1; return 0; } -- 2.8.1.306.gff998f2 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html