summaryrefslogtreecommitdiff
path: root/send-pack.h
blob: b6646488aaf93814c5053d79528c1b5a4d19bcb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef SEND_PACK_H
#define SEND_PACK_H
 
struct send_pack_args {
	const char *url;
	unsigned verbose:1,
		quiet:1,
		porcelain:1,
		progress:1,
		send_mirror:1,
		force_update:1,
		use_thin_pack:1,
		use_ofs_delta:1,
		dry_run:1,
		push_cert:1,
		stateless_rpc:1,
		atomic:1;
};
 
int send_pack(struct send_pack_args *args,
	      int fd[], struct child_process *conn,
	      struct ref *remote_refs, struct sha1_array *extra_have);
 
#endif