git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / Atom feed
8b4b0f9f04c6ad7d673fa12594cfeb45f5baf416 blob 601 bytes (raw)

 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
27
28
29
30
 
#ifndef COMMIT_GRAPH_H
#define COMMIT_GRAPH_H

#include "git-compat-util.h"

char *get_commit_graph_filename(const char *obj_dir);

struct commit_graph {
	int graph_fd;

	const unsigned char *data;
	size_t data_len;

	unsigned char hash_len;
	unsigned char num_chunks;
	uint32_t num_commits;
	struct object_id oid;

	const uint32_t *chunk_oid_fanout;
	const unsigned char *chunk_oid_lookup;
	const unsigned char *chunk_commit_data;
	const unsigned char *chunk_large_edges;
};

struct commit_graph *load_commit_graph_one(const char *graph_file);

void write_commit_graph(const char *obj_dir);

#endif

debug log:

solving 8b4b0f9f04 ...
found 8b4b0f9f04 in https://public-inbox.org/git/20180314192736.70602-9-dstolee@microsoft.com/
found 4cb3f12d33 in https://public-inbox.org/git/20180314192736.70602-7-dstolee@microsoft.com/

applying [1/2] https://public-inbox.org/git/20180314192736.70602-7-dstolee@microsoft.com/
diff --git a/commit-graph.h b/commit-graph.h
new file mode 100644
index 0000000000..4cb3f12d33


applying [2/2] https://public-inbox.org/git/20180314192736.70602-9-dstolee@microsoft.com/
diff --git a/commit-graph.h b/commit-graph.h
index 4cb3f12d33..8b4b0f9f04 100644

Checking patch commit-graph.h...
2:13: new blank line at EOF.
+
Applied patch commit-graph.h cleanly.
Checking patch commit-graph.h...
Applied patch commit-graph.h cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 8b4b0f9f04c6ad7d673fa12594cfeb45f5baf416	commit-graph.h

git@vger.kernel.org list mirror (unofficial, one of many)

Archives are clonable:
	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.io/gmane.comp.version-control.git

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git