Merge branch 'ag/patch-header-verify'
[git] / send-pack.h
1 #ifndef SEND_PACK_H
2 #define SEND_PACK_H
3
4 struct send_pack_args {
5         unsigned verbose:1,
6                 quiet:1,
7                 send_mirror:1,
8                 force_update:1,
9                 use_thin_pack:1,
10                 use_ofs_delta:1,
11                 dry_run:1,
12                 stateless_rpc:1;
13 };
14
15 int send_pack(struct send_pack_args *args,
16               int fd[], struct child_process *conn,
17               struct ref *remote_refs, struct extra_have_objects *extra_have);
18
19 #endif