Code

ad1307689d2488011e99938b8091f3fd3428ccf8
[git.git] / fetch-pack.h
1 #ifndef FETCH_PACK_H
2 #define FETCH_PACK_H
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                 use_thin_pack:1,
12                 fetch_all:1,
13                 verbose:1,
14                 no_progress:1;
15 };
17 void setup_fetch_pack(struct fetch_pack_args *args);
19 struct ref *fetch_pack(const char *dest, int nr_heads, char **heads, char **pack_lockfile);
21 #endif