diff options
Diffstat (limited to 'list-objects.c')
-rw-r--r-- | list-objects.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/list-objects.c b/list-objects.c index 30ded3d4dd..8953548c07 100644 --- a/list-objects.c +++ b/list-objects.c @@ -141,14 +141,15 @@ static void add_pending_tree(struct rev_info *revs, struct tree *tree) void traverse_commit_list(struct rev_info *revs, show_commit_fn show_commit, - show_object_fn show_object) + show_object_fn show_object, + void *data) { int i; struct commit *commit; while ((commit = get_revision(revs)) != NULL) { add_pending_tree(revs, commit->tree); - show_commit(commit); + show_commit(commit, data); } for (i = 0; i < revs->pending.nr; i++) { struct object_array_entry *pending = revs->pending.objects + i; |