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>
Masaya Suzuki committed
Jun 12, 2018 at 10:26 UTC
d067d9888778ae17aae8280c1b662b29c3490bad
1 file changed
+1
-1
builtin/send-pack.c
+1
-1
@@ -120,7 +120,7 @@ static int send_pack_config(const char *k, const char *v, void *cb)
120
}
121
}
122
}
123
- return 0;
123
+ return git_default_config(k, v, cb);
124
}
125
126
int cmd_send_pack(int argc, const char **argv, const char *prefix)