From: Masaya Suzuki Date: Tue, 12 Jun 2018 17:26:23 +0000 (-0700) Subject: builtin/send-pack: populate the default configs X-Git-Tag: v2.19.0-rc0~175^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d067d9888778ae17aae8280c1b662b29c3490bad;p=thirdparty%2Fgit.git builtin/send-pack: populate the default configs builtin/send-pack didn't call git_default_config, and because of this git push --signed didn't respect the username and email in gitconfig in the HTTP transport. Signed-off-by: Masaya Suzuki Signed-off-by: Junio C Hamano --- diff --git a/builtin/send-pack.c b/builtin/send-pack.c index fc4f0bb5fb..997a848895 100644 --- a/builtin/send-pack.c +++ b/builtin/send-pack.c @@ -120,7 +120,7 @@ static int send_pack_config(const char *k, const char *v, void *cb) } } } - return 0; + return git_default_config(k, v, cb); } int cmd_send_pack(int argc, const char **argv, const char *prefix)