diff options
author | Elijah Newren <newren@gmail.com> | 2023-02-27 16:28:15 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-27 17:29:51 +0100 |
commit | 33b1b4c7681703c44babdbd229cc96a3ad540569 (patch) | |
tree | 29bc60912da0e3bab3955d05a88f579f8ead221e /unpack-trees.h | |
parent | sparse-checkout: avoid using internal API of unpack-trees (diff) | |
download | git-33b1b4c7681703c44babdbd229cc96a3ad540569.tar.xz git-33b1b4c7681703c44babdbd229cc96a3ad540569.zip |
sparse-checkout: avoid using internal API of unpack-trees, take 2
Commit 2f6b1eb794 ("cache API: add a "INDEX_STATE_INIT" macro/function,
add release_index()", 2023-01-12) mistakenly added some initialization
of a member of unpack_trees_options that was intended to be
internal-only. This initialization should be done within
update_sparsity() instead.
Note that while o->result is mostly meant for unpack_trees() and
update_sparsity() mostly operates without o->result,
check_ok_to_remove() does consult it so we need to ensure it is properly
initialized.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.h')
0 files changed, 0 insertions, 0 deletions