diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-08-05 03:25:38 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-05 08:59:37 -0700 |
commit | 28a592e4f4870bdd444675b7240920d0879a9c1b (patch) | |
tree | f91d7478032cd3b5bc6eeef10d97eb28367835fd /tmp-objdir.c | |
parent | serve: use designated initializers (diff) | |
download | tgif-28a592e4f4870bdd444675b7240920d0879a9c1b.tar.xz |
serve.[ch]: don't pass "struct strvec *keys" to commands
The serve.c API added in ed10cb952d3 (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>
Diffstat (limited to 'tmp-objdir.c')
0 files changed, 0 insertions, 0 deletions