]>
Commit | Line | Data |
---|---|---|
2d4177c0 DB |
1 | #ifndef FETCH_PACK_H |
2 | #define FETCH_PACK_H | |
3 | ||
8bee93dd | 4 | #include "string-list.h" |
47a59185 | 5 | #include "run-command.h" |
8bee93dd | 6 | |
9cba13ca | 7 | struct fetch_pack_args { |
2d4177c0 | 8 | const char *uploadpack; |
2d4177c0 | 9 | int unpacklimit; |
2d4177c0 | 10 | int depth; |
bbaf4584 SP |
11 | unsigned quiet:1, |
12 | keep_pack:1, | |
fa740529 | 13 | lock_pack:1, |
bbaf4584 SP |
14 | use_thin_pack:1, |
15 | fetch_all:1, | |
078b895f | 16 | stdin_refs:1, |
5610b7c0 | 17 | diag_url:1, |
bbaf4584 | 18 | verbose:1, |
348e390b | 19 | no_progress:1, |
249b2004 | 20 | include_tag:1, |
c6807a40 NTND |
21 | stateless_rpc:1, |
22 | check_self_contained_and_connected:1, | |
23 | self_contained_and_connected:1; | |
2d4177c0 DB |
24 | }; |
25 | ||
4ba15999 | 26 | /* |
f2db854d JH |
27 | * sought represents remote references that should be updated from. |
28 | * On return, the names that were found on the remote will have been | |
29 | * marked as such. | |
4ba15999 | 30 | */ |
fa740529 | 31 | struct ref *fetch_pack(struct fetch_pack_args *args, |
63c69453 MH |
32 | int fd[], struct child_process *conn, |
33 | const struct ref *ref, | |
34 | const char *dest, | |
f2db854d JH |
35 | struct ref **sought, |
36 | int nr_sought, | |
63c69453 | 37 | char **pack_lockfile); |
2d4177c0 DB |
38 | |
39 | #endif |