fetch-pack.h 495 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
		use_thin_pack:1,
		fetch_all:1,
13
		stdin_refs:1,
14
		verbose:1,
15
		no_progress:1,
16 17
		include_tag:1,
		stateless_rpc:1;
18 19
};

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

#endif