git-pack-objects: Automatically pack annotated tags if object was packed
[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;
2d4177c0 7 int unpacklimit;
2d4177c0 8 int depth;
bbaf4584
SP
9 unsigned quiet:1,
10 keep_pack:1,
fa740529 11 lock_pack:1,
bbaf4584
SP
12 use_thin_pack:1,
13 fetch_all:1,
14 verbose:1,
15 no_progress:1;
2d4177c0
DB
16};
17
fa740529 18struct ref *fetch_pack(struct fetch_pack_args *args,
ba227857
DB
19 int fd[], struct child_process *conn,
20 const struct ref *ref,
fa740529
SP
21 const char *dest,
22 int nr_heads,
23 char **heads,
24 char **pack_lockfile);
2d4177c0
DB
25
26#endif