aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-bundle-uri.c
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2022-12-22 15:14:11 +0000
committerJunio C Hamano <gitster@pobox.com>2022-12-25 16:24:24 +0900
commit1b759e0cf1c18c637e40c6c191a0b614e4e4ea43 (patch)
treec00879e950d8cb7e9c9ae82e7745ee3a56848404 /t/helper/test-bundle-uri.c
parentbundle-uri client: add boolean transfer.bundleURI setting (diff)
downloadgit-1b759e0cf1c18c637e40c6c191a0b614e4e4ea43.tar.gz
git-1b759e0cf1c18c637e40c6c191a0b614e4e4ea43.zip
transport: rename got_remote_heads
The 'got_remote_heads' member of 'struct git_transport_data' was used historically to indicate that the initial server connection was made and the ref advertisement was returned. With protocol v2, that initial handshake does not necessarily include the ref advertisement, so this member is not an accurate name. Thankfully, all uses of the member are only checking to see if the handshake should take place, not whether or not some local data has the ref advertisement. Rename the member to 'finished_handshake' to represent the proper state. Note that the variable is only set to 1 during the handshake() method. Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-bundle-uri.c')
0 files changed, 0 insertions, 0 deletions