pack-objects: move revs out of get_object_list()
commit80f6de4f5bd43631a9dabc9112bf80c987763035
authorDerrick Stolee <derrickstolee@github.com>
Tue, 22 Mar 2022 17:28:36 +0000 (22 17:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Mar 2022 20:13:20 +0000 (23 13:13 -0700)
treececb3ee6ac49e1f55ee23f2b7320fcfca5182c07
parentcc910442560e606546a328375c1394a982dfe8a6
pack-objects: move revs out of get_object_list()

We intend to parse the --filter option directly into revs.filter, but we
first need to move the 'revs' variable out of get_object_list() and pass
it as a pointer instead. This change only deals with the issues of
making that work.

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c