]>
git.ipfire.org Git - thirdparty/git.git/blob - send-pack.h
4 #include "string-list.h"
10 /* Possible values for push_cert field in send_pack_args. */
11 #define SEND_PACK_PUSH_CERT_NEVER 0
12 #define SEND_PACK_PUSH_CERT_IF_ASKED 1
13 #define SEND_PACK_PUSH_CERT_ALWAYS 2
15 struct send_pack_args
{
26 /* One of the SEND_PACK_PUSH_CERT_* constants. */
30 const struct string_list
*push_options
;
34 int option_parse_push_signed(const struct option
*opt
,
35 const char *arg
, int unset
);
37 int send_pack(struct send_pack_args
*args
,
38 int fd
[], struct child_process
*conn
,
39 struct ref
*remote_refs
, struct oid_array
*extra_have
);