Skip to content
Newer
Older
100644 37 lines (32 sloc) 866 Bytes
2d4177c Make fetch-pack a builtin with an internal API
Daniel Barkalow authored Sep 10, 2007
1 #ifndef FETCH_PACK_H
2 #define FETCH_PACK_H
3
8bee93d @mhagger Change fetch_pack() and friends to take string_list arguments
mhagger authored Sep 9, 2012
4 #include "string-list.h"
5
9cba13c @jrn standardize brace placement in struct definitions
jrn authored Mar 16, 2011
6 struct fetch_pack_args {
2d4177c Make fetch-pack a builtin with an internal API
Daniel Barkalow authored Sep 11, 2007
7 const char *uploadpack;
8 int unpacklimit;
9 int depth;
bbaf458 @spearce Use 'unsigned:1' when we mean boolean options
spearce authored Sep 18, 2007
10 unsigned quiet:1,
11 keep_pack:1,
fa74052 @spearce Always obtain fetch-pack arguments from struct fetch_pack_args
spearce authored Sep 19, 2007
12 lock_pack:1,
bbaf458 @spearce Use 'unsigned:1' when we mean boolean options
spearce authored Sep 18, 2007
13 use_thin_pack:1,
14 fetch_all:1,
078b895 @grnch fetch-pack: new --stdin option to read refs from stdin
grnch authored Apr 2, 2012
15 stdin_refs:1,
bbaf458 @spearce Use 'unsigned:1' when we mean boolean options
spearce authored Sep 18, 2007
16 verbose:1,
348e390 @spearce Teach fetch-pack/upload-pack about --include-tag
spearce authored Mar 3, 2008
17 no_progress:1,
249b200 @spearce Smart fetch over HTTP: client side
spearce authored Oct 30, 2009
18 include_tag:1,
19 stateless_rpc:1;
2d4177c Make fetch-pack a builtin with an internal API
Daniel Barkalow authored Sep 11, 2007
20 };
21
4ba1599 @mhagger filter_refs(): delete matched refs from sought list
mhagger authored Sep 9, 2012
22 /*
23 * sought contains the full names of remote references that should be
24 * updated from. On return, the names that were found on the remote
25 * will have been removed from the list. The util members of the
26 * string_list_items are used internally; they must be NULL on entry
27 * (and will be NULL on exit).
28 */
fa74052 @spearce Always obtain fetch-pack arguments from struct fetch_pack_args
spearce authored Sep 19, 2007
29 struct ref *fetch_pack(struct fetch_pack_args *args,
63c6945 @mhagger fetch_pack(): reindent function decl and defn
mhagger authored Sep 9, 2012
30 int fd[], struct child_process *conn,
31 const struct ref *ref,
32 const char *dest,
8bee93d @mhagger Change fetch_pack() and friends to take string_list arguments
mhagger authored Sep 9, 2012
33 struct string_list *sought,
63c6945 @mhagger fetch_pack(): reindent function decl and defn
mhagger authored Sep 9, 2012
34 char **pack_lockfile);
2d4177c Make fetch-pack a builtin with an internal API
Daniel Barkalow authored Sep 11, 2007
35
36 #endif
Something went wrong with that request. Please try again.