• J
    list-objects: pass callback data to show_objects() · 49473672
    Junio C Hamano 提交于
    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: NJunio C Hamano <gitster@pobox.com>
    49473672
upload-pack.c 17.6 KB