4 #include "string-list.h"
6 /* Possible values for push_cert field in send_pack_args. */
7 #define SEND_PACK_PUSH_CERT_NEVER 0
8 #define SEND_PACK_PUSH_CERT_IF_ASKED 1
9 #define SEND_PACK_PUSH_CERT_ALWAYS 2
11 struct send_pack_args {
22 /* One of the SEND_PACK_PUSH_CERT_* constants. */
26 const struct string_list *push_options;
30 int option_parse_push_signed(const struct option *opt,
31 const char *arg, int unset);
33 int send_pack(struct send_pack_args *args,
34 int fd[], struct child_process *conn,
35 struct ref *remote_refs, struct oid_array *extra_have);