diff options
author | Masaya Suzuki <masayasuzuki@google.com> | 2018-06-12 20:26:23 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-12 20:53:10 +0300 |
commit | d067d9888778ae17aae8280c1b662b29c3490bad (patch) | |
tree | d1ad036b6e43bf2c9bff48564c885b3ce1551a15 /builtin/send-pack.c | |
parent | a42a58d7b62cc1d6301440e81a83feed9d7c118c (diff) |
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 <masayasuzuki@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/send-pack.c')
-rw-r--r-- | builtin/send-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |