summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-08-05 03:25:40 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-08-05 08:59:37 -0700
commit5befe8a1f14e2429fee526acc8dcc23039f5193b (patch)
tree3c614b0a7fdd393a610ec5a546be64c35c8e876d /cache.h
parentserve: move transfer.advertiseSID check into session_id_advertise() (diff)
downloadtgif-5befe8a1f14e2429fee526acc8dcc23039f5193b.tar.xz
serve.c: move version line to advertise_capabilities()
The advertise_capabilities() is only called from serve() and we always emit this version line before it. In a subsequent commit I'll make builtin/upload-pack.c sometimes call advertise_capabilities() directly, so it'll make sense to have this line emitted by advertise_capabilities(), not serve() itself. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
0 files changed, 0 insertions, 0 deletions