repo.or.cz
/
git
/
mjg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
checkout: use add_pending_{object,sha1} in orphan check
[git/mjg.git]
/
fetch-pack.h
blob
0608edae3fe7b07b852b30281fea978806798c99
1
#ifndef FETCH_PACK_H
2
#define FETCH_PACK_H
3
4
struct
fetch_pack_args
{
5
const char
*
uploadpack
;
6
int
unpacklimit
;
7
int
depth
;
8
unsigned
quiet
:
1
,
9
keep_pack
:
1
,
10
lock_pack
:
1
,
11
use_thin_pack
:
1
,
12
fetch_all
:
1
,
13
verbose
:
1
,
14
no_progress
:
1
,
15
include_tag
:
1
,
16
stateless_rpc
:
1
;
17
};
18
19
struct
ref
*
fetch_pack
(
struct
fetch_pack_args
*
args
,
20
int
fd
[],
struct
child_process
*
conn
,
21
const struct
ref
*
ref
,
22
const char
*
dest
,
23
int
nr_heads
,
24
char
**
heads
,
25
char
**
pack_lockfile
);
26
27
#endif