]> git.ipfire.org Git - thirdparty/git.git/commit
ls-tree: fold "show_tree_data" into "cb" struct
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 12 Jan 2023 09:11:32 +0000 (17:11 +0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Jan 2023 23:09:23 +0000 (15:09 -0800)
commit65d1f6c9fa780eab5af6883e309637bddc63d75d
treeac57dd50ba2982864359fd12a6c0c67cc10b2c1e
parent030a3d5d9e49a392b347d3d857c60fc811f6fcb9
ls-tree: fold "show_tree_data" into "cb" struct

After the the preceding two commits the only user of the
"show_tree_data" struct needed it along with the "options" member,
let's instead fold all of that into a "show_tree_data" struct that
we'll use only for that callback.

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