Smart-http: check if repository is OK to export before serving it
[git/dscho.git] / send-pack.h
blob28141ac913f6558b81ff0b1b21a1e1b5ead43fa0
1 #ifndef SEND_PACK_H
2 #define SEND_PACK_H
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;
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);
19 #endif