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

ab/object-file-api-updates (was: What's cooking in git.git (Feb 2022, #08; Mon, 28))

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Mar 3, 2022, 16:11 UTC
Message-ID
<220303.86v8wv2evg.gmgdl@evledraar.gmail.com>
In-Reply-To
<xmqqmti9ssah.fsf@gitster.g>
On Tue, Mar 01 2022, Junio C Hamano wrote:
Show 18 quoted lines
> * ab/object-file-api-updates (2022-02-25) 12 commits
>  - object-file API: pass an enum to read_object_with_reference()
>  - object-file.c: add a literal version of write_object_file_prepare()
>  - object-file API: have hash_object_file() take "enum object_type"
>  - object API: rename hash_object_file_literally() to write_*()
>  - object-file API: split up and simplify check_object_signature()
>  - object API users + docs: check <0, not !0 with check_object_signature()
>  - object API docs: move check_object_signature() docs to cache.h
>  - object API: correct "buf" v.s. "map" mismatch in *.c and *.h
>  - object-file API: have write_object_file() take "enum object_type"
>  - object-file API: add a format_object_header() function
>  - object-file API: return "void", not "int" from hash_object_file()
>  - object-file.c: split up declaration of unrelated variables
>
>  Object-file API shuffling.
>
>  Needs review.
>  source: <cover-v3-00.12-00000000000-20220204T234435Z-avarab@gmail.com>

Jiang Xin (whose git-unpack-objects series at [1] depends on this) has looked this over & acked it at [2].

1. https://lore.kernel.org/git/cover-v10-0.6-00000000000-20220204T135538Z-avarab@gmail.com/
2. https://lore.kernel.org/git/CANYiYbFZN=mvcxRT4Cf4Gzao89KR2UjMJXnJM63S2zAtbD32Jg@mail.gmail.com/
Previous: Johannes SchindelinNext: Junio C Hamano
Message 11 of 12 in “What's cooking in git.git (Feb 2022, #08; Mon, 28)”
  1. Junio C HamanoMar 1, 2022
  2. ds/commit-graph-gen-v2-fixes (was Re: What's cooking in git.git (Feb 2022, #08; Mon, 28))Derrick Stolee, Mar 1, 2022
  3. Patrick SteinhardtMar 1, 2022
  4. Junio C HamanoMar 1, 2022
  5. js/scalar-diagnose, was Re: What's cooking in git.git (Feb 2022, #08; Mon, 28)Johannes Schindelin, Mar 1, 2022
  6. Junio C HamanoMar 2, 2022
  7. en/merge-tree (Was: Re: What's cooking in git.git (Feb 2022, #08; Mon, 28))Elijah Newren, Mar 2, 2022
  8. Johannes SchindelinMar 7, 2022
  9. Elijah NewrenMar 8, 2022
  10. Johannes SchindelinMar 9, 2022
  11. ab/object-file-api-updates (was: What's cooking in git.git (Feb 2022, #08; Mon, 28))Ævar Arnfjörð Bjarmason, Mar 3, 2022
  12. Junio C HamanoMar 3, 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.