summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2021-09-14 19:51:30 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-14 17:12:05 -0700
commitab539c9094e3e3691f157830f74406042d55f774 (patch)
treef9661a2e7f506027b1db554c62b37d7702868bbd /git.c
parentserve: provide "receive" function for object-format capability (diff)
downloadtgif-ab539c9094e3e3691f157830f74406042d55f774.tar.xz
serve: provide "receive" function for session-id capability
Rather than pulling the session-id string from the list of collected capabilities, we can handle it as soon as we receive it. This gets us closer to dropping the collected list entirely. The behavior should be the same, with one exception. Previously if the client sent us multiple session-id lines, we'd report only the first. Now we'll pass each one along to trace2. This shouldn't matter in practice, since clients shouldn't do that (and if they do, it's probably sensible to log them all). As this removes the last caller of the static has_capability(), we can remove it, as well (and in fact we must to avoid -Wunused-function complaining). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions