Subject: Re: What's cooking in git.git (Mar 2022, #02; Mon, 7)

From: Teng Long <[email-masked]>
Date: Tue, 8 Mar 2022 16:05:51 +0800

Junio C Hamano wrote on Mon, 07 Mar 2022 17:51:19 -0800:

>[Stalled]
>
>* tl/ls-tree-oid-only (2022-03-04) 12 commits
> - ls-tree: support --object-only option for "git-ls-tree"
> - ls-tree: introduce "--format" option
> - cocci: allow padding with `strbuf_addf()`
> - ls-tree: introduce struct "show_tree_data"
> - ls-tree: slightly refactor `show_tree()`
> - ls-tree: fix "--name-only" and "--long" combined use bug
> - ls-tree: simplify nesting if/else logic in "show_tree()"
> - ls-tree: rename "retval" to "recurse" in "show_tree()"
> - ls-tree: use "size_t", not "int" for "struct strbuf"'s "len"
> - ls-tree: use "enum object_type", not {blob,tree,commit}_type
> - ls-tree: add missing braces to "else" arms
> - ls-tree: remove commented-out code
>
> "git ls-tree" learns "--oid-only" option, similar to "--name-only",
> and more generalized "--format" option.
> source: <[email-masked]>

Sorry for the late reply.

I posted a updated patchset last week, we already had a private review on that,
but maybe string need Ævar Arnfjörð Bjarmason for taking a look.

Thanks.