4 #include "string-list.h"
5 #include "run-command.h"
7 struct fetch_pack_args
{
8 const char *uploadpack
;
14 unsigned use_thin_pack
:1;
16 unsigned stdin_refs
:1;
18 unsigned no_progress
:1;
19 unsigned include_tag
:1;
20 unsigned stateless_rpc
:1;
21 unsigned check_self_contained_and_connected
:1;
22 unsigned self_contained_and_connected
:1;
26 * sought represents remote references that should be updated from.
27 * On return, the names that were found on the remote will have been
30 struct ref
*fetch_pack(struct fetch_pack_args
*args
,
31 int fd
[], struct child_process
*conn
,
32 const struct ref
*ref
,
36 char **pack_lockfile
);