fread does not return negative on error
[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                 send_mirror:1,
7                 force_update:1,
8                 use_thin_pack:1,
9                 use_ofs_delta:1,
10                 dry_run:1;
11 };
12
13 int send_pack(struct send_pack_args *args,
14               int fd[], struct child_process *conn,
15               struct ref *remote_refs, struct extra_have_objects *extra_have);
16
17 #endif