summaryrefslogtreecommitdiff
path: root/Documentation/git-whatchanged.txt
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-08-05 03:25:39 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-08-05 08:59:37 -0700
commiteea7f7a977c61f313774d591ed54ec9d7345fdaf (patch)
tree5d6b8151cf43c77d542a4e02e78d23a75e9eada4 /Documentation/git-whatchanged.txt
parentserve.[ch]: don't pass "struct strvec *keys" to commands (diff)
downloadtgif-eea7f7a977c61f313774d591ed54ec9d7345fdaf.tar.xz
serve: move transfer.advertiseSID check into session_id_advertise()
In 6b5b6e422ee (serve: advertise session ID in v2 capabilities, 2020-11-11) the check for transfer.advertiseSID was added to the beginning of the main serve() loop. Thus on startup of the server we'd populate it. Let's instead use an explicit lazy initialization pattern in session_id_advertise() itself, we'll still look the config up only once per-process, but by moving it out of serve() itself the further changing of that routine becomes easier. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-whatchanged.txt')
0 files changed, 0 insertions, 0 deletions