reflog: reduce scope of "struct rev_info"
commit994b328f3662688d93233ed2215855e95d83e57a
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 22 Dec 2021 04:06:46 +0000 (22 05:06 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Dec 2021 00:24:14 +0000 (22 16:24 -0800)
tree5e44225463da70d7fc536c08dd4103ed2f96c95d
parentdaf1d8285eeb44eeb8be92b7b01706e887f718ed
reflog: reduce scope of "struct rev_info"

Change the "cmd.stalefix" handling added in 1389d9ddaa6 (reflog expire
--fix-stale, 2007-01-06) to use a locally scoped "struct
rev_info". This code relies on mark_reachable_objects() twiddling
flags in the walked objects.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/reflog.c