builtin/send-pack.c: use parse_options API
[git/git.git] / send-pack.h
CommitLineData
96249c04
DB
1#ifndef SEND_PACK_H
2#define SEND_PACK_H
3
4struct send_pack_args {
9be89160 5 const char *url;
96249c04 6 unsigned verbose:1,
12070329 7 quiet:1,
77555854 8 porcelain:1,
d7c411b7 9 progress:1,
28b9d6e5 10 send_mirror:1,
96249c04
DB
11 force_update:1,
12 use_thin_pack:1,
b74fce16 13 use_ofs_delta:1,
de1a2fdd 14 dry_run:1,
a85b377d 15 push_cert:1,
4ff17f10
RS
16 stateless_rpc:1,
17 atomic:1;
96249c04
DB
18};
19
20int send_pack(struct send_pack_args *args,
64fcef2d 21 int fd[], struct child_process *conn,
13eb4626 22 struct ref *remote_refs, struct sha1_array *extra_have);
96249c04
DB
23
24#endif