tl/ls-tree-oid-only (was: What's cooking in git.git (Feb 2022, #01; Thu, 3))
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Feb 4, 2022, 13:05 UTC
- Message-ID
- <220204.861r0i3hmf.gmgdl@evledraar.gmail.com>
- In-Reply-To
- <xmqqr18jnr2t.fsf@gitster.g>
On Thu, Feb 03 2022, Junio C Hamano wrote:
Show 16 quoted lines
> * tl/ls-tree-oid-only (2022-01-13) 9 commits
> - ls-tree.c: introduce "--format" option
> - cocci: allow padding with `strbuf_addf()`
> - ls-tree.c: introduce struct "show_tree_data"
> - ls-tree.c: support --object-only option for "git-ls-tree"
> - ls-tree: optimize naming and handling of "return" 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.
>
> Will merge to 'next'?
> source: <cover.1641978175.git.dyroneteng@gmail.com>Let's hold off on that. It'll need at least one more iteration, as I indicated just now in https://lore.kernel.org/git/220204.865ypu3hqm.gmgdl@evledraar.gmail.com/ (and which the author agrees with).