diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-03-28 10:51:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-28 10:51:52 -0700 |
commit | f879501ad08b228797f5473092186900828681d5 (patch) | |
tree | c48bcb2ba63e3101da8d9f24e5a242e4538589d8 /connect.h | |
parent | 8069aa01cd83d187813117b34ed718245d56eac9 (diff) | |
parent | eaa0fd658442c2b83dfad918d636bba3ca3b4087 (diff) | |
download | git-f879501ad08b228797f5473092186900828681d5.tar.gz |
Merge branch 'jk/fix-proto-downgrade-to-v0'
Transports that do not support protocol v2 did not correctly fall
back to protocol v0 under certain conditions, which has been
corrected.
* jk/fix-proto-downgrade-to-v0:
git_connect(): fix corner cases in downgrading v2 to v0
Diffstat (limited to 'connect.h')
-rw-r--r-- | connect.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ #define CONNECT_DIAG_URL (1u << 1) #define CONNECT_IPV4 (1u << 2) #define CONNECT_IPV6 (1u << 3) -struct child_process *git_connect(int fd[2], const char *url, const char *prog, int flags); +struct child_process *git_connect(int fd[2], const char *url, const char *name, const char *prog, int flags); int finish_connect(struct child_process *conn); int git_connection_is_socket(struct child_process *conn); int server_supports(const char *feature); |