fetch-pack: in partial clone, pass --promisor
[git.git] / serve.h
blobfc2683e24d30577c41d4800239bf19b134316140
1 #ifndef SERVE_H
2 #define SERVE_H
4 struct strvec;
5 int has_capability(const struct strvec *keys, const char *capability,
6 const char **value);
8 struct serve_options {
9 unsigned advertise_capabilities;
10 unsigned stateless_rpc;
12 #define SERVE_OPTIONS_INIT { 0 }
13 void serve(struct serve_options *options);
15 #endif /* SERVE_H */