summaryrefslogtreecommitdiff
path: root/fetch-pack.h
blob: ad1307689d2488011e99938b8091f3fd3428ccf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef FETCH_PACK_H
#define FETCH_PACK_H
 
struct fetch_pack_args
{
	const char *uploadpack;
	int unpacklimit;
	int depth;
	unsigned quiet:1,
		keep_pack:1,
		use_thin_pack:1,
		fetch_all:1,
		verbose:1,
		no_progress:1;
};
 
void setup_fetch_pack(struct fetch_pack_args *args);
 
struct ref *fetch_pack(const char *dest, int nr_heads, char **heads, char **pack_lockfile);
 
#endif