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

Re: [PATCH] revision: remove definition of unused 'add_object' function

From
Jeff King <peff@peff.net>
Date
Oct 19, 2014, 01:36 UTC
Message-ID
<20141019013646.GA17908@peff.net>
In-Reply-To
<5442DD4C.9050908@ramsay1.demon.co.uk>
On Sat, Oct 18, 2014 at 10:36:12PM +0100, Ramsay Jones wrote:
> I noticed that your 'jk/prune-mtime' branch removes the last caller
> of the add_object() function; specifically commit 5f78a431a
> ("reachable: use traverse_commit_list instead of custom walk", 15-10-2014).

Thanks. I usually rely on the compiler to catch any static instances that I missed, but of course this one is extern. Did you use an automated tool for this (I know you often catch "X has no declaration; should it be static?" with clang, but does clang catch this, too?).

> If you need to re-roll those patches, could you please squash this
> patch into the above commit. (unless you have plans to add some new
> callers, of course! ;-) ).

Nope, I just didn't notice that I dropped the last caller. I don't think we need another re-roll (fingers crossed), but I'd be happy to have this on top.

-Peff
Previous: Ramsay JonesNext: Ramsay Jones
Message 2 of 3 in “revision: remove definition of unused 'add_object' function”
  1. revision: remove definition of unused 'add_object' functionRamsay Jones, Oct 18, 2014
  2. Jeff KingOct 19, 2014
  3. Ramsay JonesOct 19, 2014

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.