1#ifndef FETCH_PACK_H
2#define FETCH_PACK_H
34
struct fetch_pack_args
5{
6const char *uploadpack;
7int unpacklimit;
8int depth;
9unsigned quiet:1,
10keep_pack:1,
11lock_pack:1,
12use_thin_pack:1,
13fetch_all:1,
14verbose:1,
15no_progress:1;
16};
1718
struct ref *fetch_pack(struct fetch_pack_args *args,
19int fd[], struct child_process *conn,
20const struct ref *ref,
21const char *dest,
22int nr_heads,
23char **heads,
24char **pack_lockfile);
2526
#endif