Files
git/builtin
Ævar Arnfjörð Bjarmason 030a3d5d9e ls-tree: use a "struct options"
As a first step towards being able to turn this code into an API some
day let's change the "static" options in builtin/ls-tree.c into a
"struct ls_tree_options" that can be constructed dynamically without
the help of parse_options().

Because we're now using non-static variables for this we'll need to
clear_pathspec() at the end of cmd_ls_tree(), least various tests
start failing under SANITIZE=leak. The memory leak was already there
before, now it's just being brought to the surface.

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>
2023-01-13 15:09:22 -08:00
..
2022-04-06 09:42:14 -07:00
2022-10-30 21:04:44 -04:00
2022-11-23 11:22:24 +09:00
2023-01-13 15:09:22 -08:00
2022-11-16 14:57:32 -05:00
2022-11-18 18:43:09 -05:00
2022-11-28 12:13:46 +09:00