Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-03-28 20:51:52 +0300
committerJunio C Hamano <gitster@pobox.com>2023-03-28 20:51:52 +0300
commitf879501ad08b228797f5473092186900828681d5 (patch)
treec48bcb2ba63e3101da8d9f24e5a242e4538589d8 /connect.h
parent8069aa01cd83d187813117b34ed718245d56eac9 (diff)
parenteaa0fd658442c2b83dfad918d636bba3ca3b4087 (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/connect.h b/connect.h
index b26f7de784..f41a0b4c1f 100644
--- a/connect.h
+++ b/connect.h
@@ -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);