git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
a887e7e4eb539563e910f39566f574654c35a9be blob 782 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
 
#ifndef SHA1_ARRAY_H
#define SHA1_ARRAY_H

struct oid_array {
	struct object_id *oid;
	int nr;
	int alloc;
	int sorted;
};

#define OID_ARRAY_INIT { NULL, 0, 0, 0 }

void oid_array_append(struct oid_array *array, const struct object_id *oid);
int oid_array_lookup(struct oid_array *array, const struct object_id *oid);
void oid_array_clear(struct oid_array *array);
int oid_array_contains_nondestructive(const struct oid_array* array,
	const struct object_id* oid);

typedef int (*for_each_oid_fn)(const struct object_id *oid,
			       void *data);
int oid_array_for_each(struct oid_array *array,
		       for_each_oid_fn fn,
		       void *data);
int oid_array_for_each_unique(struct oid_array *array,
			      for_each_oid_fn fn,
			      void *data);

#endif /* SHA1_ARRAY_H */
debug log:

solving a887e7e4eb ...
found a887e7e4eb in https://public-inbox.org/git/20190121223216.66659-2-sxenos@google.com/
found 232bf95017 in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100644 232bf9501729696846f514e13ce5f23c425d9d27	sha1-array.h

applying [1/1] https://public-inbox.org/git/20190121223216.66659-2-sxenos@google.com/
diff --git a/sha1-array.h b/sha1-array.h
index 232bf95017..a887e7e4eb 100644

Checking patch sha1-array.h...
Applied patch sha1-array.h cleanly.

index at:
100644 a887e7e4eb539563e910f39566f574654c35a9be	sha1-array.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).