list-objects: drop name_path entirely
commitbd64516aca4d4e22acb33c71429d293a14d355cf
authorJeff King <peff@peff.net>
Thu, 11 Feb 2016 22:26:44 +0000 (11 17:26 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Feb 2016 20:51:15 +0000 (12 12:51 -0800)
treeb5ecc69581925bd95e262aa2b203fb3e63756091
parent13528ab37cadb4d4f7384d0449489760912904b8
list-objects: drop name_path entirely

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: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c
builtin/rev-list.c
list-objects.c
list-objects.h
pack-bitmap-write.c
pack-bitmap.c
reachable.c
revision.c
revision.h