4 #include "string-list.h"
11 /* Possible values for push_cert field in send_pack_args. */
12 #define SEND_PACK_PUSH_CERT_NEVER 0
13 #define SEND_PACK_PUSH_CERT_IF_ASKED 1
14 #define SEND_PACK_PUSH_CERT_ALWAYS 2
16 struct send_pack_args
{
27 /* One of the SEND_PACK_PUSH_CERT_* constants. */
32 const struct string_list
*push_options
;
36 int option_parse_push_signed(const struct option
*opt
,
37 const char *arg
, int unset
);
39 int send_pack(struct repository
*r
, struct send_pack_args
*args
,
40 int fd
[], struct child_process
*conn
,
41 struct ref
*remote_refs
, struct oid_array
*extra_have
);