]> git.ipfire.org Git - thirdparty/git.git/blame - fetch-pack.h
Merge branch 'maint'
[thirdparty/git.git] / fetch-pack.h
CommitLineData
2d4177c0
DB
1#ifndef FETCH_PACK_H
2#define FETCH_PACK_H
3
8bee93dd
MH
4#include "string-list.h"
5
9cba13ca 6struct fetch_pack_args {
2d4177c0 7 const char *uploadpack;
2d4177c0 8 int unpacklimit;
2d4177c0 9 int depth;
bbaf4584
SP
10 unsigned quiet:1,
11 keep_pack:1,
fa740529 12 lock_pack:1,
bbaf4584
SP
13 use_thin_pack:1,
14 fetch_all:1,
078b895f 15 stdin_refs:1,
bbaf4584 16 verbose:1,
348e390b 17 no_progress:1,
249b2004 18 include_tag:1,
c6807a40
NTND
19 stateless_rpc:1,
20 check_self_contained_and_connected:1,
21 self_contained_and_connected:1;
2d4177c0
DB
22};
23
4ba15999 24/*
f2db854d
JH
25 * sought represents remote references that should be updated from.
26 * On return, the names that were found on the remote will have been
27 * marked as such.
4ba15999 28 */
fa740529 29struct ref *fetch_pack(struct fetch_pack_args *args,
63c69453
MH
30 int fd[], struct child_process *conn,
31 const struct ref *ref,
32 const char *dest,
f2db854d
JH
33 struct ref **sought,
34 int nr_sought,
63c69453 35 char **pack_lockfile);
2d4177c0
DB
36
37#endif