• Junio C Hamano's avatar
    list-objects: pass callback data to show_objects() · 49473672
    Junio C Hamano authored
    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: default avatarJunio C Hamano <gitster@pobox.com>
    49473672
list-objects.h 429 Bytes