gitweb: use new Git::Repo API, and add optional caching
[git/gitweb-caching.git] / send-pack.h
blob8ff1dc35390083c3648c4ee5790f35633d956069
1 #ifndef SEND_PACK_H
2 #define SEND_PACK_H
4 struct send_pack_args {
5 const char *receivepack;
6 unsigned verbose:1,
7 send_all:1,
8 send_mirror:1,
9 force_update:1,
10 use_thin_pack:1,
11 dry_run:1;
14 int send_pack(struct send_pack_args *args,
15 const char *dest, struct remote *remote,
16 int nr_heads, const char **heads);
18 #endif