diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-02-24 13:25:54 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-24 13:25:54 -0800 |
commit | e84d5e9fa178a027b1c8b9f6e22c9173dcda03b3 (patch) | |
tree | b3d16c3076cb8bce048c54e331e86f56e0c0533b /connect.h | |
parent | Merge branch 'nd/git-common-dir-fix' (diff) | |
parent | connect & http: support -4 and -6 switches for remote operations (diff) | |
download | tgif-e84d5e9fa178a027b1c8b9f6e22c9173dcda03b3.tar.xz |
Merge branch 'ew/force-ipv4'
"git fetch" and friends that make network connections can now be
told to only use ipv4 (or ipv6).
* ew/force-ipv4:
connect & http: support -4 and -6 switches for remote operations
Diffstat (limited to 'connect.h')
-rw-r--r-- | connect.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,8 @@ #define CONNECT_VERBOSE (1u << 0) #define CONNECT_DIAG_URL (1u << 1) +#define CONNECT_IPV4 (1u << 2) +#define CONNECT_IPV6 (1u << 3) extern struct child_process *git_connect(int fd[2], const char *url, const char *prog, int flags); extern int finish_connect(struct child_process *conn); extern int git_connection_is_socket(struct child_process *conn); |