Merge branch 'ms/send-pack-honor-config'
authorJunio C Hamano <gitster@pobox.com>
Thu, 28 Jun 2018 19:53:30 +0000 (12:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jun 2018 19:53:30 +0000 (12:53 -0700)
"git send-pack --signed" (hence "git push --signed" over the http
transport) did not read user ident from the config mechanism to
determine whom to sign the push certificate as, which has been
corrected.

* ms/send-pack-honor-config:
builtin/send-pack: populate the default configs

builtin/send-pack.c
index 4923b1058c667bd45282c0930e1089594a3f4731..42fd8d1a3528c3ea0b30007407b2ae38f240f4c7 100644 (file)
@@ -121,7 +121,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)