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

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

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
May 26, 2012, 04:09 UTC
Message-ID
<CACsJy8BRWmqz+2_A5_=1S9_sxOQa9GXnPQ7J1Y6id0_vh2-=+Q@mail.gmail.com>
In-Reply-To
<20120525201547.GB86874@tgummerer>
On Sat, May 26, 2012 at 3:15 AM, Thomas Gummerer <t.gummerer@gmail.com> wrote:
Show 20 quoted lines
> On 05/25, Nguyen Thai Ngoc Duy wrote:
>> On Wed, May 23, 2012 at 7:21 PM, Thomas Gummerer <t.gummerer@gmail.com> wrote:
>> > == Outlook for the next week ==
>> >
>> > - Start working on actual git code
>> > - Read the header of the new format
>>
>> I know it's out of scope, but it would be great if you could make
>> ls-files read the new index format directly. Having something that
>> actual works will ensure we don't overlook anything in the new format.
>> We can then learn from ls-files lesson (especially how to handle both
>> new/old format) and come up with api/in-core structures for the rest
>> of git later.
>
> Thanks for your suggestion. How did you think this should be done?
> Writing a extra function in ls-files, just for outputting? I don't
> think it is necessary to write a extra function, since the result
> from the read_index_from function in read-cache is used for that
> anyway. Or did you have something different in mind, that I'm missing
> here?

No, read_index_from would go through the normal tree->list conversion. What I'd like to see is what it looks like when a command accesses index v5 directly in tree form, taking all advantages that tree-form provides, and how we should deal with old index versions while still supporting index v5 (without losing tree advantages)

-- 
Duy
Previous: Thomas GummererNext: Thomas Gummerer
Message 6 of 13 in “[GSoC] Designing a faster index format - Progress report”
  1. Thomas GummererMay 23, 2012
  2. Thomas RastMay 24, 2012
  3. Junio C HamanoMay 24, 2012
  4. Nguyen Thai Ngoc DuyMay 25, 2012
  5. Thomas GummererMay 25, 2012
  6. Nguyen Thai Ngoc DuyMay 26, 2012
  7. Thomas GummererMay 27, 2012
  8. Junio C HamanoMay 27, 2012
  9. Nguyen Thai Ngoc DuyMay 27, 2012
  10. Thomas GummererMay 28, 2012
  11. Thomas RastMay 29, 2012
  12. Nguyen Thai Ngoc DuyMay 29, 2012
  13. Junio C HamanoMay 29, 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.