summaryrefslogtreecommitdiff
path: root/cache-tree.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-12-22 05:06:40 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-22 16:24:13 -0800
commit4a0339b36fa48c2bd8dd3becbe87bd59a958b306 (patch)
treed905bc88873307821930755d2d2048d62f6224f9 /cache-tree.h
parentThe fourth batch (diff)
downloadtgif-4a0339b36fa48c2bd8dd3becbe87bd59a958b306.tar.xz
reflog delete: narrow scope of "cmd" passed to count_reflog_ent()
Change the "cb_data" we pass to the count_reflog_ent() to be the &cb.cmd itself, instead of passing &cb and having the callback lookup cb->cmd. This makes it clear that the "cb" itself is the same memzero'd structure on each iteration of the for-loop that uses &cb, except for the "cmd" member. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.h')
0 files changed, 0 insertions, 0 deletions