summaryrefslogtreecommitdiff
path: root/send-pack.h
blob: 7a24f71c77b1a1d700171bdf088a3c3c7527c6ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef SEND_PACK_H
#define SEND_PACK_H

struct send_pack_args {
	const char *receivepack;
	unsigned verbose:1,
		send_all:1,
		force_update:1,
		use_thin_pack:1,
		dry_run:1;
};

int send_pack(struct send_pack_args *args,
	      const char *dest, struct remote *remote,
	      int nr_heads, const char **heads);

#endif