git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
3ec2d8448f2097e731db590680352929072072d7 blob 1291 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 
#ifndef ODB_HELPER_H
#define ODB_HELPER_H

#include "external-odb.h"

#define ODB_HELPER_CAP_GET_GIT_OBJ    (1u<<0)
#define ODB_HELPER_CAP_GET_RAW_OBJ    (1u<<1)
#define ODB_HELPER_CAP_GET_DIRECT     (1u<<2)
#define ODB_HELPER_CAP_PUT_GIT_OBJ    (1u<<3)
#define ODB_HELPER_CAP_PUT_RAW_OBJ    (1u<<4)
#define ODB_HELPER_CAP_PUT_DIRECT     (1u<<5)
#define ODB_HELPER_CAP_HAVE           (1u<<6)

struct odb_helper {
	const char *name;
	const char *dealer;
	enum odb_helper_type type;
	unsigned int supported_capabilities;
	int initialized;
	const char *partial_clone_filter;

	struct odb_helper_object {
		struct object_id oid;
		unsigned long size;
		enum object_type type;
	} *have;
	int have_nr;
	int have_alloc;
	int have_valid;

	struct odb_helper *next;
};

extern struct odb_helper *odb_helper_new(const char *name, int namelen);
extern int odb_helper_init(struct odb_helper *o);
extern int odb_helper_has_object(struct odb_helper *o,
				 const unsigned char *sha1);
extern int odb_helper_get_object(struct odb_helper *o,
				 const unsigned char *sha1,
				 int fd);
extern int odb_helper_get_direct(struct odb_helper *o,
				 const unsigned char *sha1);
extern int odb_helper_get_many_direct(struct odb_helper *o,
				      const struct oid_array *to_get);

#endif /* ODB_HELPER_H */
debug log:

solving 3ec2d8448f ...
found 3ec2d8448f in https://public-inbox.org/git/20180319133147.15413-15-chriscool@tuxfamily.org/
found 2c529af6af in https://public-inbox.org/git/20180319133147.15413-13-chriscool@tuxfamily.org/
found 7720684744 in https://public-inbox.org/git/20180319133147.15413-12-chriscool@tuxfamily.org/
found 819182f76a in https://public-inbox.org/git/20180319133147.15413-10-chriscool@tuxfamily.org/
found d4b968693f in https://public-inbox.org/git/20180319133147.15413-8-chriscool@tuxfamily.org/
found 57b14fe814 in https://public-inbox.org/git/20180319133147.15413-6-chriscool@tuxfamily.org/
found e3c9c1cfe4 in https://public-inbox.org/git/20180319133147.15413-2-chriscool@tuxfamily.org/

applying [1/7] https://public-inbox.org/git/20180319133147.15413-2-chriscool@tuxfamily.org/
diff --git a/odb-helper.h b/odb-helper.h
new file mode 100644
index 0000000000..e3c9c1cfe4


applying [2/7] https://public-inbox.org/git/20180319133147.15413-6-chriscool@tuxfamily.org/
diff --git a/odb-helper.h b/odb-helper.h
index e3c9c1cfe4..57b14fe814 100644


applying [3/7] https://public-inbox.org/git/20180319133147.15413-8-chriscool@tuxfamily.org/
diff --git a/odb-helper.h b/odb-helper.h
index 57b14fe814..d4b968693f 100644


applying [4/7] https://public-inbox.org/git/20180319133147.15413-10-chriscool@tuxfamily.org/
diff --git a/odb-helper.h b/odb-helper.h
index d4b968693f..819182f76a 100644


applying [5/7] https://public-inbox.org/git/20180319133147.15413-12-chriscool@tuxfamily.org/
diff --git a/odb-helper.h b/odb-helper.h
index 819182f76a..7720684744 100644


applying [6/7] https://public-inbox.org/git/20180319133147.15413-13-chriscool@tuxfamily.org/
diff --git a/odb-helper.h b/odb-helper.h
index 7720684744..2c529af6af 100644


applying [7/7] https://public-inbox.org/git/20180319133147.15413-15-chriscool@tuxfamily.org/
diff --git a/odb-helper.h b/odb-helper.h
index 2c529af6af..3ec2d8448f 100644

Checking patch odb-helper.h...
Applied patch odb-helper.h cleanly.
Checking patch odb-helper.h...
Applied patch odb-helper.h cleanly.
Checking patch odb-helper.h...
Applied patch odb-helper.h cleanly.
Checking patch odb-helper.h...
Applied patch odb-helper.h cleanly.
Checking patch odb-helper.h...
Applied patch odb-helper.h cleanly.
Checking patch odb-helper.h...
Applied patch odb-helper.h cleanly.
Checking patch odb-helper.h...
Applied patch odb-helper.h cleanly.

index at:
100644 3ec2d8448f2097e731db590680352929072072d7	odb-helper.h

Code repositories for project(s) associated with this 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).