]>
Commit | Line | Data |
---|---|---|
2d4177c0 DB |
1 | #ifndef FETCH_PACK_H |
2 | #define FETCH_PACK_H | |
3 | ||
9cba13ca | 4 | struct fetch_pack_args { |
2d4177c0 | 5 | const char *uploadpack; |
2d4177c0 | 6 | int unpacklimit; |
2d4177c0 | 7 | int depth; |
bbaf4584 SP |
8 | unsigned quiet:1, |
9 | keep_pack:1, | |
fa740529 | 10 | lock_pack:1, |
bbaf4584 SP |
11 | use_thin_pack:1, |
12 | fetch_all:1, | |
078b895f | 13 | stdin_refs:1, |
bbaf4584 | 14 | verbose:1, |
348e390b | 15 | no_progress:1, |
249b2004 SP |
16 | include_tag:1, |
17 | stateless_rpc:1; | |
2d4177c0 DB |
18 | }; |
19 | ||
fa740529 | 20 | struct ref *fetch_pack(struct fetch_pack_args *args, |
ba227857 DB |
21 | int fd[], struct child_process *conn, |
22 | const struct ref *ref, | |
fa740529 SP |
23 | const char *dest, |
24 | int nr_heads, | |
25 | char **heads, | |
26 | char **pack_lockfile); | |
2d4177c0 DB |
27 | |
28 | #endif |