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

Re: [PATCH] pack-objects: use free()+xcalloc() instead of xrealloc()+memset()

From
Jeff King <peff@peff.net>
Date
Jun 2, 2014, 21:59 UTC
Message-ID
<20140602215911.GA4612@sigill.intra.peff.net>
In-Reply-To
<878upf9h9v.fsf@fencepost.gnu.org>
On Mon, Jun 02, 2014 at 10:40:44PM +0200, David Kastrup wrote:
Show 9 quoted lines
> > BTW, the code does git-blame to Vicent's 2834bc2 (which I also worked
> > on), but actually originated in 7a979d9 (Thin pack - create packfile
> > with missing delta base., 2006-02-19). Not that it matters, but I was
> > just surprised since the code you are changing did not seem familiar to
> > me. I guess there was just too much refactoring during the code movement
> > for git-blame to pass along the blame in this case.
> 
> Without -M, "too much refactoring" for git-blame may just be moving a
> function to a different place in the same file.

I tried "git blame -M -C -C -C pack-objects.c" but couldn't get anything but the whole thing blamed to 2834bc2.

-Peff
Previous: David KastrupNext: Junio C Hamano
Message 4 of 6 in “pack-objects: use free()+xcalloc() instead of xrealloc()+memset()”
  1. pack-objects: use free()+xcalloc() instead of xrealloc()+memset()René Scharfe, Jun 1, 2014
  2. Jeff KingJun 2, 2014
  3. David KastrupJun 2, 2014
  4. Jeff KingJun 2, 2014
  5. Junio C HamanoJun 2, 2014
  6. Jeff KingJun 3, 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.