]> git.ipfire.org Git - thirdparty/git.git/blob - fetch-pack.h
Reduce the number of connects when fetching
[thirdparty/git.git] / fetch-pack.h
1 #ifndef FETCH_PACK_H
2 #define FETCH_PACK_H
3
4 struct fetch_pack_args
5 {
6 const char *uploadpack;
7 int unpacklimit;
8 int depth;
9 unsigned quiet:1,
10 keep_pack:1,
11 lock_pack:1,
12 use_thin_pack:1,
13 fetch_all:1,
14 verbose:1,
15 no_progress:1;
16 };
17
18 struct ref *fetch_pack(struct fetch_pack_args *args,
19 int fd[], struct child_process *conn,
20 const struct ref *ref,
21 const char *dest,
22 int nr_heads,
23 char **heads,
24 char **pack_lockfile);
25
26 #endif