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

Re: [PATCH] receive-pack: use FLEX_ALLOC_MEM in queue_command()

From
Jeff King <peff@peff.net>
Date
Aug 13, 2016, 18:34 UTC
Message-ID
<20160813183429.lhgl3qfx7gf4duvj@sigill.intra.peff.net>
In-Reply-To
<57AF3F10.3050508@web.de>
On Sat, Aug 13, 2016 at 05:38:56PM +0200, René Scharfe wrote:
> Use the macro FLEX_ALLOC_MEM instead of open-coding it.  This shortens
> and simplifies the code a bit.

Thanks, looks good (I obviously missed a few opportunities for conversion during the initial introduction of FLEX_ALLOC simply by not noticing; I don't think there is any more reason that this one was not converted).

-Peff
Previous: René Scharfe
Message 2 of 2 in “receive-pack: use FLEX_ALLOC_MEM in queue_command()”
  1. receive-pack: use FLEX_ALLOC_MEM in queue_command()René Scharfe, Aug 13, 2016
  2. Jeff KingAug 13, 2016

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.