summaryrefslogtreecommitdiff
path: root/t/t4208-log-magic-pathspec.sh
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-03-15 10:31:30 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-15 12:01:09 -0700
commit40fc51e39f178e81cbd7feadda51fca604f02ea8 (patch)
tree433547df74885fae3d092e037e885bc45c501125 /t/t4208-log-magic-pathspec.sh
parentfetch-pack: support shallow requests (diff)
downloadtgif-40fc51e39f178e81cbd7feadda51fca604f02ea8.tar.xz
connect: refactor git_connect to only get the protocol version once
Instead of having each builtin transport asking for which protocol version the user has configured in 'protocol.version' by calling `get_protocol_version_config()` multiple times, factor this logic out so there is just a single call at the beginning of `git_connect()`. This will be helpful in the next patch where we can have centralized logic which determines if we need to request a different protocol version than what the user has configured. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4208-log-magic-pathspec.sh')
0 files changed, 0 insertions, 0 deletions