aboutsummaryrefslogtreecommitdiff
path: root/fetch-pack.h
blob: cdcd84f2b562d2f6a47a2ed2f4434034f639cbd5 (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 quiet;
	int keep_pack;
	int unpacklimit;
	int use_thin_pack;
	int fetch_all;
	int verbose;
	int depth;
	int no_progress;
};

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