Staging
v0.5.1
https://github.com/git/git
Revision b697d92f56511e804b8ba20ccbe7bdc85dc66810 authored by Junio C Hamano on 07 June 2019, 16:39:21 UTC, committed by Junio C Hamano on 07 June 2019, 16:39:21 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 6ee1eac
Raw File
Tip revision: b697d92f56511e804b8ba20ccbe7bdc85dc66810 authored by Junio C Hamano on 07 June 2019, 16:39:21 UTC
Git 2.22
Tip revision: b697d92
list-objects.h
#ifndef LIST_OBJECTS_H
#define LIST_OBJECTS_H

struct commit;
struct object;
struct rev_info;

typedef void (*show_commit_fn)(struct commit *, void *);
typedef void (*show_object_fn)(struct object *, const char *, void *);
void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *);

typedef void (*show_edge_fn)(struct commit *);
void mark_edges_uninteresting(struct rev_info *revs,
			      show_edge_fn show_edge,
			      int sparse);

struct oidset;
struct list_objects_filter_options;

void traverse_commit_list_filtered(
	struct list_objects_filter_options *filter_options,
	struct rev_info *revs,
	show_commit_fn show_commit,
	show_object_fn show_object,
	void *show_data,
	struct oidset *omitted);

#endif /* LIST_OBJECTS_H */
back to top