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

Re: [PATCH] it's called read_object_file() these days

From
Jeff King <peff@peff.net>
Date
Nov 2, 2018, 06:24 UTC
Message-ID
<20181102062429.GA29939@sigill.intra.peff.net>
In-Reply-To
<xmqqpnvoovzk.fsf@gitster-ct.c.googlers.com>
On Fri, Nov 02, 2018 at 03:05:03PM +0900, Junio C Hamano wrote:
> Remnant of the old name of the function still remains in comments.
> Update them all.
Yay. What's here looks obviously correct.
Show 9 quoted lines
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
>  apply.c       | 2 +-
>  builtin/gc.c  | 2 +-
>  fast-import.c | 4 ++--
>  notes.c       | 2 +-
>  object.h      | 2 +-
>  sha1-file.c   | 2 +-
>  6 files changed, 7 insertions(+), 7 deletions(-)
There's another mention in Documentation/technical/api-object-access.txt.

But since the entire API is undocumented, I'm not sure it matters much. That file has been a placeholder since 2007. Maybe we should just delete it; its existence does not seem to be guilting anyone into documenting, and these days we'd prefer to do it in-header anyway.

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 3 in “it's called read_object_file() these days”
  1. it's called read_object_file() these daysJunio C Hamano, Nov 2, 2018
  2. Jeff KingNov 2, 2018
  3. Junio C HamanoNov 2, 2018

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.