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

Re: [GSoC] Designing a faster index format - Progress report week 13

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 22, 2012, 21:08 UTC
Message-ID
<7vr4s3pkqr.fsf@alter.siamese.dyndns.org>
In-Reply-To
<87629fvaxz.fsf@thomas.inf.ethz.ch>
Thomas Rast <trast@student.ethz.ch> writes:
Show 5 quoted lines
> Hum, I'm a bit lost now.
>
> What is the status quo?  I take it JGit does not have any of ctime, dev,
> ino etc., and either leaves the existing value or puts a 0....
> an argument in favor of splitting stat_crc into its fields again?

A difference is that JGit already has such code, and we would be adding a burden to do so yet again. It also may not just be JGit, but anything that wants to be "compatible" with systems whose filesystem interface does not give enough data by omitting fields the current index pays attention to.

It isn't really a discussion about splitting again, but more about not squishing them into a new field in the first place---IIUC, even outside Windows, ctime is already problematic on some systems where background processes muck with extended attributes Git does not pay attention to. If the patch makes us lose the ability to selectively ignore changes to certain fields (e.g. changes to dev and ino are noticed but ctime are ignored) by squishing them into one new field, wouldn't removing them without adding such a useless field a simpler way to go?

Previous: Thomas RastNext: Robin Rosenberg
Message 8 of 12 in “[GSoC] Designing a faster index format - Progress report week 13”
  1. Thomas GummererJul 16, 2012
  2. Junio C HamanoJul 16, 2012
  3. Thomas GummererJul 17, 2012
  4. Thomas GummererJul 17, 2012
  5. Robin RosenbergJul 22, 2012
  6. Junio C HamanoJul 22, 2012
  7. Thomas RastJul 22, 2012
  8. Junio C HamanoJul 22, 2012
  9. Robin RosenbergJul 23, 2012
  10. Thomas RastJul 24, 2012
  11. Junio C HamanoJul 24, 2012
  12. Thomas RastJul 25, 2012

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.