4 #include "string-list.h"
5 #include "run-command.h"
9 struct fetch_pack_args
{
10 const char *uploadpack
;
13 const char *deepen_since
;
17 unsigned use_thin_pack
:1;
19 unsigned stdin_refs
:1;
22 unsigned no_progress
:1;
23 unsigned include_tag
:1;
24 unsigned stateless_rpc
:1;
25 unsigned check_self_contained_and_connected
:1;
26 unsigned self_contained_and_connected
:1;
28 unsigned update_shallow
:1;
33 * sought represents remote references that should be updated from.
34 * On return, the names that were found on the remote will have been
37 struct ref
*fetch_pack(struct fetch_pack_args
*args
,
38 int fd
[], struct child_process
*conn
,
39 const struct ref
*ref
,
43 struct sha1_array
*shallow
,
44 char **pack_lockfile
);