]> git.ipfire.org Git - thirdparty/git.git/commit
transport: introduce parse_transport_option() method
authorXing Xin <xingxin.xx@bytedance.com>
Tue, 8 Oct 2024 03:38:15 +0000 (03:38 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Oct 2024 17:22:06 +0000 (10:22 -0700)
commit06708ce18066b40e05fba22491542d95b43b0f22
treebe890a0ddfcb941369ef4c22962db3ac4ba1e89d
parent777489f9e09c8d0dd6b12f9d90de6376330577a2
transport: introduce parse_transport_option() method

Add the `parse_transport_option()` method to parse the `push.pushOption`
configuration. This method will also be used in the next commit to
handle the new `remote.<name>.serverOption` configuration for setting
server options in Git protocol v2.

Signed-off-by: Xing Xin <xingxin.xx@bytedance.com>
Reviewed-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/push.c
transport.c
transport.h