mirror of
https://github.com/git/git.git
synced 2024-12-18 14:24:11 +08:00
28a592e4f4
The serve.c API added in ed10cb952d
(serve: introduce git-serve,
2018-03-15) was passing in the raw capabilities "keys", but nothing
downstream of it ever used them.
Let's remove that code because it's not needed. If we do end up
needing to pass information about the advertisement in the future
it'll make more sense to have serve.c parse the capabilities keys and
pass the result of its parsing, rather than expecting expecting its
API users to parse the same keys again.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
9 lines
194 B
C
9 lines
194 B
C
#ifndef PROTOCOL_CAPS_H
|
|
#define PROTOCOL_CAPS_H
|
|
|
|
struct repository;
|
|
struct packet_reader;
|
|
int cap_object_info(struct repository *r, struct packet_reader *request);
|
|
|
|
#endif /* PROTOCOL_CAPS_H */
|