Make fetch-pack a builtin with an internal API
[git/git.git] / fetch-pack.h
CommitLineData
2d4177c0
DB
1#ifndef FETCH_PACK_H
2#define FETCH_PACK_H
3
4struct fetch_pack_args
5{
6 const char *uploadpack;
7 int quiet;
8 int keep_pack;
9 int unpacklimit;
10 int use_thin_pack;
11 int fetch_all;
12 int verbose;
13 int depth;
14 int no_progress;
15};
16
17void setup_fetch_pack(struct fetch_pack_args *args);
18
19struct ref *fetch_pack(const char *dest, int nr_heads, char **heads);
20
21#endif