git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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).

Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 21 of 22 in “What's cooking in git.git (Feb 2022, #01; Thu, 3)”
  1. Junio C HamanoFeb 4, 2022
  2. Eric SunshineFeb 4, 2022
  3. Junio C HamanoFeb 5, 2022
  4. Opinions on merging questions (Was: What's cooking in git.git (Feb 2022, #01; Thu, 3))Elijah Newren, Feb 4, 2022
  5. en/remerge-diff (was: Opinions on merging questions (Was: What's cooking in git.git (Feb 2022, #01; Thu, 3)))Ævar Arnfjörð Bjarmason, Feb 4, 2022
  6. Junio C HamanoFeb 4, 2022
  7. Eric SunshineFeb 6, 2022
  8. Derrick StoleeFeb 9, 2022
  9. Phillip WoodFeb 7, 2022
  10. jc/doc-log-messages (was: What's cooking in git.git (Feb 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Feb 4, 2022
  11. rj/receive-pack-abort-upon-disconnect (was: What's cooking in git.git (Feb 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Feb 4, 2022
  12. cb/clear-quarantine-early-on-all-ref-update-errors (was: What's cooking in git.git (Feb 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Feb 4, 2022
  13. Junio C HamanoFeb 4, 2022
  14. ja/i18n-common-messages (was: What's cooking in git.git (Feb 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Feb 4, 2022
  15. Junio C HamanoFeb 4, 2022
  16. Jean-Noël AVILAFeb 5, 2022
  17. Bagas SanjayaFeb 6, 2022
  18. Jean-Noël AVILAFeb 6, 2022
  19. ps/avoid-unnecessary-hook-invocation-with-packed-refs (was: What's cooking in git.git (Feb 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Feb 4, 2022
  20. ab/ambiguous-object-name (was: What's cooking in git.git (Feb 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Feb 4, 2022
  21. tl/ls-tree-oid-only (was: What's cooking in git.git (Feb 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Feb 4, 2022
  22. ab/only-single-progress-at-once (was: What's cooking in git.git (Feb 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Feb 4, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.