fetch-pack.h 479 Bytes
Newer Older
1 2 3
#ifndef FETCH_PACK_H
#define FETCH_PACK_H

4
struct fetch_pack_args {
5 6 7
	const char *uploadpack;
	int unpacklimit;
	int depth;
8 9
	unsigned quiet:1,
		keep_pack:1,
10
		lock_pack:1,
11 12 13
		use_thin_pack:1,
		fetch_all:1,
		verbose:1,
14
		no_progress:1,
15 16
		include_tag:1,
		stateless_rpc:1;
17 18
};

19
struct ref *fetch_pack(struct fetch_pack_args *args,
20 21
		int fd[], struct child_process *conn,
		const struct ref *ref,
22 23 24 25
		const char *dest,
		int nr_heads,
		char **heads,
		char **pack_lockfile);
26 27

#endif