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

Re: [PATCH] refs: drop unused `peel_iterated_oid()` declaration

From
Patrick Steinhardt <ps@pks.im>
Date
Nov 13, 2026, 07:04 UTC
Message-ID
<ava2ejke3jl7Bv5S@pks.im>
In-Reply-To
<xmqqv761j3df.fsf@gitster.g>
On Thu, Nov 12, 2026 at 10:45:00AM -0800, Junio C Hamano wrote:
Show 18 quoted lines
> Yusuke Hayashi via B4 Relay <devnull+yusuke8h.gmail.com@kernel.org>
> writes:
> 
> > From: Yusuke Hayashi <yusuke8h@gmail.com>
> >
> > Commit 5a5c7359f7 (refs: drop `current_ref_iter` hack, 2025-10-23)
> > removed `peel_iterated_oid()` from "refs.c" after converting all of its
> > callers to `reference_get_peeled_oid()`, leaving behind the declaration
> > in "refs.h".
> >
> > Remove the unused declaration and its comment.
> >
> > Signed-off-by: Yusuke Hayashi <yusuke8h@gmail.com>
> > ---
> >  refs.h | 13 -------------
> >  1 file changed, 13 deletions(-)
> 
> obviously correct ;-)  Thanks, will queue.
Indeed, thanks for cleaning up after me!
Patrick
Previous: Junio C Hamano
Message 3 of 3 in “refs: drop unused `peel_iterated_oid()` declaration”
  1. refs: drop unused `peel_iterated_oid()` declarationYusuke Hayashi via B4 Relay, Nov 12, 2026
  2. Junio C HamanoNov 12, 2026
  3. Patrick SteinhardtNov 13, 2026

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.