diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-08-05 03:25:40 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-05 08:59:37 -0700 |
commit | 5befe8a1f14e2429fee526acc8dcc23039f5193b (patch) | |
tree | 3c614b0a7fdd393a610ec5a546be64c35c8e876d /bundle.c | |
parent | serve: move transfer.advertiseSID check into session_id_advertise() (diff) | |
download | tgif-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 'bundle.c')
0 files changed, 0 insertions, 0 deletions