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

Re: [PATCH] attr.c: Use ALLOC_GROW instead of alloc_nr and xrealloc.

From
Thiago Farina <tfransosi@gmail.com>
Date
Dec 22, 2010, 01:04 UTC
Message-ID
<AANLkTinw-GeFp5BnBUK02_YU8=XoUw1uHprSg1Hja0sh@mail.gmail.com>
In-Reply-To
<7v1v5a7hc4.fsf@alter.siamese.dyndns.org>
On Tue, Dec 21, 2010 at 10:59 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Instead of trickling these down, can you give a single patch to convert
> the remaining ones you have been finding with "git grep -e alloc_nr"?
>
$ git grep -w alloc_nr | grep -v cache.h | wc -l

Sorry, but I wouldn't feel comfortable fixing 19 files now. At least not exactly now. Perhaps on the weekend.

Previous: Junio C Hamano
Message 3 of 3 in “attr.c: Use ALLOC_GROW instead of alloc_nr and xrealloc.”
  1. attr.c: Use ALLOC_GROW instead of alloc_nr and xrealloc.Thiago Farina, Dec 22, 2010
  2. Junio C HamanoDec 22, 2010
  3. Thiago FarinaDec 22, 2010

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.