summaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-09-01 15:43:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-09-01 15:46:12 -0700
commit4947367267cbcd0ca528711b2393613e2e817878 (patch)
treec2a9a053ecadf7b61ef3d6017bb8ba08804342b6 /strbuf.h
parentrevision.c: update show_object_with_name() without using malloc() (diff)
downloadtgif-4947367267cbcd0ca528711b2393613e2e817878.tar.xz
list-objects: pass callback data to show_objects()
The traverse_commit_list() API takes two callback functions, one to show commit objects, and the other to show other kinds of objects. Even though the former has a callback data parameter, so that the callback does not have to rely on global state, the latter does not. Give the show_objects() callback the same callback data parameter. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
0 files changed, 0 insertions, 0 deletions