• Jeff King's avatar
    list-objects: drop name_path entirely · dc06dc88
    Jeff King authored
    In the previous commit, we left name_path as a thin wrapper
    around a strbuf. This patch drops it entirely. As a result,
    every show_object_fn callback needs to be adjusted. However,
    none of their code needs to be changed at all, because the
    only use was to pass it to path_name(), which now handles
    the bare strbuf.
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    dc06dc88
reachable.c 4.69 KB