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;