contrib/subtree: Fix make install target
[alt-git.git] / fetch-pack.h
blob40f08bab24df917986de73c8d7f4d9d36fe658da
1 #ifndef FETCH_PACK_H
2 #define FETCH_PACK_H
4 #include "string-list.h"
6 struct fetch_pack_args {
7 const char *uploadpack;
8 int unpacklimit;
9 int depth;
10 unsigned quiet:1,
11 keep_pack:1,
12 lock_pack:1,
13 use_thin_pack:1,
14 fetch_all:1,
15 stdin_refs:1,
16 verbose:1,
17 no_progress:1,
18 include_tag:1,
19 stateless_rpc:1,
20 check_self_contained_and_connected:1,
21 self_contained_and_connected:1;
25 * sought represents remote references that should be updated from.
26 * On return, the names that were found on the remote will have been
27 * marked as such.
29 struct ref *fetch_pack(struct fetch_pack_args *args,
30 int fd[], struct child_process *conn,
31 const struct ref *ref,
32 const char *dest,
33 struct ref **sought,
34 int nr_sought,
35 char **pack_lockfile);
37 #endif