merge: small leakfix and code simplification
[alt-git.git] / send-pack.h
blob56354577467acfe1bf98652f6bfad9ad7e5db851
1 #ifndef SEND_PACK_H
2 #define SEND_PACK_H
4 struct send_pack_args {
5 const char *url;
6 unsigned verbose:1,
7 quiet:1,
8 porcelain:1,
9 progress:1,
10 send_mirror:1,
11 force_update:1,
12 use_thin_pack:1,
13 use_ofs_delta:1,
14 dry_run:1,
15 push_cert:1,
16 stateless_rpc:1;
19 int send_pack(struct send_pack_args *args,
20 int fd[], struct child_process *conn,
21 struct ref *remote_refs, struct sha1_array *extra_have);
23 #endif