Build-in send-pack, with an API for other programs to call.
[git/jnareb-git/bp-gitweb.git] / fetch-pack.h
bloba7888ea302cde44b072cc019394ae43dbb4cf95d
1 #ifndef FETCH_PACK_H
2 #define FETCH_PACK_H
4 struct fetch_pack_args
6 const char *uploadpack;
7 int unpacklimit;
8 int depth;
9 unsigned quiet:1,
10 keep_pack:1,
11 lock_pack:1,
12 use_thin_pack:1,
13 fetch_all:1,
14 verbose:1,
15 no_progress:1;
18 struct ref *fetch_pack(struct fetch_pack_args *args,
19 const char *dest,
20 int nr_heads,
21 char **heads,
22 char **pack_lockfile);
24 #endif