diff options
Diffstat (limited to 'send-pack.c')
| -rw-r--r-- | send-pack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/send-pack.c b/send-pack.c index e68da24cc5..0c7ccaef68 100644 --- a/send-pack.c +++ b/send-pack.c @@ -19,6 +19,7 @@ #include "oid-array.h" #include "gpg-interface.h" #include "shallow.h" +#include "parse-options.h" #include "trace2.h" #include "write-or-die.h" @@ -539,7 +540,7 @@ int send_pack(struct send_pack_args *args, die(_("the receiving end does not support this repository's hash algorithm")); if (args->push_cert != SEND_PACK_PUSH_CERT_NEVER) { - int len; + size_t len; push_cert_nonce = server_feature_value("push-cert", &len); if (push_cert_nonce) { reject_invalid_nonce(push_cert_nonce, len); |
