send-pack: rename ref_update_to_be_sent to check_to_send_update
[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,
de1a2fdd 16 stateless_rpc:1;
96249c04
DB
17};
18
19int send_pack(struct send_pack_args *args,
64fcef2d 20 int fd[], struct child_process *conn,
13eb4626 21 struct ref *remote_refs, struct sha1_array *extra_have);
96249c04
DB
22
23#endif