]> git.ipfire.org Git - thirdparty/git.git/commit - revision.h
revision: put object filter into struct rev_info
authorDerrick Stolee <derrickstolee@github.com>
Wed, 9 Mar 2022 16:01:33 +0000 (16:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Mar 2022 18:25:26 +0000 (10:25 -0800)
commitffaa137f646803749cf81017d3208be2ce8a2964
tree73b00311010c181f57fd080c4959de74b085971c
parent4a4c3f9b6389168033843814ad45e69bf0b92b1d
revision: put object filter into struct rev_info

Placing a 'struct list_objects_filter_options' within 'struct rev_info'
will assist making some bookkeeping around object filters in the future.

For now, let's use this new member to remove a static global instance of
the struct from builtin/rev-list.c.

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rev-list.c
revision.h