summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Masaya Suzuki <masayasuzuki@google.com>2018-06-12 10:26:23 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-12 10:53:10 -0700
commitd067d9888778ae17aae8280c1b662b29c3490bad (patch)
treed1ad036b6e43bf2c9bff48564c885b3ce1551a15
parentGit 2.16.4 (diff)
downloadtgif-d067d9888778ae17aae8280c1b662b29c3490bad.tar.xz
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>
-rw-r--r--builtin/send-pack.c2
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)