repo.or.cz
/
git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fetch-pack: in partial clone, pass --promisor
[git.git]
/
serve.h
blob
fc2683e24d30577c41d4800239bf19b134316140
1
#ifndef SERVE_H
2
#define SERVE_H
3
4
struct
strvec
;
5
int
has_capability
(
const struct
strvec
*
keys
,
const char
*
capability
,
6
const char
**
value
);
7
8
struct
serve_options
{
9
unsigned
advertise_capabilities
;
10
unsigned
stateless_rpc
;
11
};
12
#define SERVE_OPTIONS_INIT { 0 }
13
void
serve
(
struct
serve_options
*
options
);
14
15
#endif
/* SERVE_H */