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

Re: [PATCH] diffcore-rename: cache file deltas

From
Jeff King <peff@peff.net>
Date
Sep 25, 2007, 21:42 UTC
Message-ID
<20070925214200.GA2886@sigill.intra.peff.net>
In-Reply-To
<7vy7eu4eos.fsf@gitster.siamese.dyndns.org>
On Tue, Sep 25, 2007 at 02:29:07PM -0700, Junio C Hamano wrote:
> Very nice.
Thank you.
> True.  But we can rename it to diff_file_filespec_blob() and
> that would perfectly well describe what it does.  Will do so
> when applying if it is Ok to you.

Yes, that is a much better name (assuming s/file/free). Please do change it.

Show 5 quoted lines
> >  - The hash_chars() should arguably be tied into
> >    diffcore_populate_filespec, which should have more of a "what
> 
> Both good points, but I agree with you that it is wise to do
> that with a follow-up patch.

I think I will leave it, unless you are excited about the change. I feel like there is a high chance of introducing some bug, and the benefit is purely stylistic at this point (i.e., the diff code isn't really changing much at this point, so I think it should just be left alone).

-Peff
Previous: Junio C HamanoNext: Linus Torvalds
Message 3 of 5 in “diffcore-rename: cache file deltas”
  1. diffcore-rename: cache file deltasJeff King, Sep 25, 2007
  2. Junio C HamanoSep 25, 2007
  3. Jeff KingSep 25, 2007
  4. Linus TorvaldsOct 3, 2007
  5. Junio C HamanoOct 3, 2007

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.