unpack-trees: drop name_entry from traverse_by_cache_tree()
authorJeff King <peff@peff.net>
Wed, 20 Mar 2019 08:15:07 +0000 (04:15 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Mar 2019 09:34:09 +0000 (18:34 +0900)
commit664296985c2f05df83da9b859c258d97e6a11ba3
tree58a640846d78da822d494b48fe7eaa66932436be
parent04c4c766ec8252674496ab232b63c1860bcbc0a9
unpack-trees: drop name_entry from traverse_by_cache_tree()

We pull the names from the existing index rather than the tree entry,
which is after all the point of this function. Let's drop the unused
"names" parameter.

Note that we leave the "nr_names" parameter, as it tells us how many
trees we are traversing (and thus how many index stages to set up).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
unpack-trees.c