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