Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 29 lines (25 sloc) 0.495 kb
2d4177c Make fetch-pack a builtin with an internal API
Daniel Barkalow authored
1 #ifndef FETCH_PACK_H
2 #define FETCH_PACK_H
3
9cba13c @jrn standardize brace placement in struct definitions
jrn authored
4 struct fetch_pack_args {
2d4177c Make fetch-pack a builtin with an internal API
Daniel Barkalow authored
5 const char *uploadpack;
6 int unpacklimit;
7 int depth;
bbaf458 @spearce Use 'unsigned:1' when we mean boolean options
spearce authored
8 unsigned quiet:1,
9 keep_pack:1,
fa74052 @spearce Always obtain fetch-pack arguments from struct fetch_pack_args
spearce authored
10 lock_pack:1,
bbaf458 @spearce Use 'unsigned:1' when we mean boolean options
spearce authored
11 use_thin_pack:1,
12 fetch_all:1,
078b895 @grnch fetch-pack: new --stdin option to read refs from stdin
grnch authored
13 stdin_refs:1,
bbaf458 @spearce Use 'unsigned:1' when we mean boolean options
spearce authored
14 verbose:1,
348e390 @spearce Teach fetch-pack/upload-pack about --include-tag
spearce authored
15 no_progress:1,
249b200 @spearce Smart fetch over HTTP: client side
spearce authored
16 include_tag:1,
17 stateless_rpc:1;
2d4177c Make fetch-pack a builtin with an internal API
Daniel Barkalow authored
18 };
19
fa74052 @spearce Always obtain fetch-pack arguments from struct fetch_pack_args
spearce authored
20 struct ref *fetch_pack(struct fetch_pack_args *args,
ba22785 Reduce the number of connects when fetching
Daniel Barkalow authored
21 int fd[], struct child_process *conn,
22 const struct ref *ref,
fa74052 @spearce Always obtain fetch-pack arguments from struct fetch_pack_args
spearce authored
23 const char *dest,
24 int nr_heads,
25 char **heads,
26 char **pack_lockfile);
2d4177c Make fetch-pack a builtin with an internal API
Daniel Barkalow authored
27
28 #endif
Something went wrong with that request. Please try again.