pack-objects: drop unused rev_info parameters
authorJeff King <peff@peff.net>
Thu, 9 May 2019 21:31:16 +0000 (17:31 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 May 2019 05:22:54 +0000 (14:22 +0900)
commit7a2a721687f5d8027f6d380b60a2da62c202191b
tree44864d6f12bbc7b5c005578aa245ceeee1e0ba6f
parentc0165798952fff060243cdf199df30209f9995bc
pack-objects: drop unused rev_info parameters

When collecting the list of objects to pack in get_object_list(), we
pass our rev_info struct around to some functions that don't need it.
This is due to 03a9683d22 (Simplify is_kept_pack(), 2009-02-28), where
the kept-pack handling was moved out of the revision machinery.

Let's drop these unused parameters.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c