git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
blob 17b3252cbcd17fbe0d2c9e5bf02a4b51493b66a5 985 bytes (raw)
name: connect.h 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
#ifndef CONNECT_H
#define CONNECT_H

#include "protocol.h"

#define CONNECT_VERBOSE       (1u << 0)
#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);
int finish_connect(struct child_process *conn);
int git_connection_is_socket(struct child_process *conn);
int server_supports(const char *feature);
int parse_feature_request(const char *features, const char *feature);
const char *parse_feature_value(const char *feature_list, const char *feature, int *len_ret);
const char *server_feature_value(const char *feature, int *len_ret);
int url_is_local_not_ssh(const char *url);

struct packet_reader;
enum protocol_version discover_version(struct packet_reader *reader);

int server_supports_v2(const char *c, int die_on_error);
int server_supports_feature(const char *c, const char *feature,
			    int die_on_error);

#endif

debug log:

solving 17b3252cbc ...
found 17b3252cbc in https://public-inbox.org/git/20200418160334.15631-3-worldhello.net@gmail.com/ ||
	https://public-inbox.org/git/20200414123257.27449-3-worldhello.net@gmail.com/ ||
	https://public-inbox.org/git/20200413164828.23260-3-worldhello.net@gmail.com/ ||
	https://public-inbox.org/git/20200412133022.17590-6-worldhello.net@gmail.com/
found 5f2382e018 in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100644 5f2382e01868042757901a419b5e5f34ad8bb279	connect.h

applying [1/1] https://public-inbox.org/git/20200418160334.15631-3-worldhello.net@gmail.com/
diff --git a/connect.h b/connect.h
index 5f2382e018..17b3252cbc 100644

Checking patch connect.h...
Applied patch connect.h cleanly.

skipping https://public-inbox.org/git/20200414123257.27449-3-worldhello.net@gmail.com/ for 17b3252cbc
skipping https://public-inbox.org/git/20200413164828.23260-3-worldhello.net@gmail.com/ for 17b3252cbc
skipping https://public-inbox.org/git/20200412133022.17590-6-worldhello.net@gmail.com/ for 17b3252cbc
index at:
100644 17b3252cbcd17fbe0d2c9e5bf02a4b51493b66a5	connect.h

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).