diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-10-05 12:36:20 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-05 12:36:20 -0700 |
commit | 2e2e7e9dd07107af8ce96428929775f267fdf98a (patch) | |
tree | 2ad475466a598a0004fa13cb0e5a5eb53fa559e2 /list-objects.h | |
parent | Merge branch 'jc/fetch-pack-fsck-objects' (diff) | |
parent | fetch: verify we have everything we need before updating our ref (diff) | |
download | tgif-2e2e7e9dd07107af8ce96428929775f267fdf98a.tar.xz |
Merge branch 'jc/fetch-verify'
* jc/fetch-verify:
fetch: verify we have everything we need before updating our ref
rev-list --verify-object
list-objects: pass callback data to show_objects()
Diffstat (limited to 'list-objects.h')
-rw-r--r-- | list-objects.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/list-objects.h b/list-objects.h index d65dbf03e6..3db7bb6fa3 100644 --- a/list-objects.h +++ b/list-objects.h @@ -2,11 +2,10 @@ #define LIST_OBJECTS_H typedef void (*show_commit_fn)(struct commit *, void *); -typedef void (*show_object_fn)(struct object *, const struct name_path *, const char *); -typedef void (*show_edge_fn)(struct commit *); - +typedef void (*show_object_fn)(struct object *, const struct name_path *, 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 commit_list *, struct rev_info *, show_edge_fn); #endif |