list-objects: drop name_path entirely
commitdc06dc880013d48f2b09c6b4295419382f3b8230
authorJeff King <peff@peff.net>
Thu, 11 Feb 2016 22:26:44 +0000 (11 17:26 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Mar 2016 17:41:03 +0000 (16 10:41 -0700)
tree953e8e5da9ba916154fbb92b48a3654144ee5442
parentf3badaed5106a16499d0fae31a382f9047b272d7
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