4 #include "string-list.h"
5 #include "run-command.h"
9 struct fetch_pack_args
{
10 const char *uploadpack
;
16 unsigned use_thin_pack
:1;
18 unsigned stdin_refs
:1;
20 unsigned no_progress
:1;
21 unsigned include_tag
:1;
22 unsigned stateless_rpc
:1;
23 unsigned check_self_contained_and_connected
:1;
24 unsigned self_contained_and_connected
:1;
29 * sought represents remote references that should be updated from.
30 * On return, the names that were found on the remote will have been
33 struct ref
*fetch_pack(struct fetch_pack_args
*args
,
34 int fd
[], struct child_process
*conn
,
35 const struct ref
*ref
,
39 struct sha1_array
*shallow
,
40 char **pack_lockfile
);