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

Re: diff machinery cleanup

From
Jeff King <peff@peff.net>
Date
Aug 10, 2006, 20:10 UTC
Message-ID
<20060810201049.GA4759@sigio.intra.peff.net>
In-Reply-To
<7vzmecv7tp.fsf@assigned-by-dhcp.cox.net>
On Thu, Aug 10, 2006 at 10:06:42AM -0700, Junio C Hamano wrote:
> No, run_diff_index munges the index in-core, and it does not
> writes it out for obvious reasons.
Ah, OK, that makes more sense. Is there any reason then that this
wouldn't work (it certainly seems to, but I don't want to be causing
invisible problems that will come back later)? You seemed to outline a
much more complex procedure in your original mail.
  run_diff_index();
  discard_cache();
  ...
  run_diff_files();

I'd like to go with this simple solution at first for the C runstatus, and then hopefully move to simultaneous diffing later.

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 6 in “diff machinery cleanup”
  1. Jeff KingAug 10, 2006
  2. Junio C HamanoAug 10, 2006
  3. Jeff KingAug 10, 2006
  4. Junio C HamanoAug 10, 2006
  5. Jeff KingAug 10, 2006
  6. Junio C HamanoAug 10, 2006

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.