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

Re: Question About Sorting the Index

From
Elijah Newren <newren@gmail.com>
Date
May 18, 2025, 05:13 UTC
Message-ID
<CABPp-BGRxierdcqWz2ZNdvLLrSSSR937CgOvC19vQkeUeC1pFg@mail.gmail.com>
In-Reply-To
<e2a24cbb-1438-46b9-b546-82c9f6dc7ebf@gmail.com>
On Sat, May 17, 2025 at 11:48 AM Jon Forrest <nobozo@gmail.com> wrote:
Show 18 quoted lines
>
> On 5/17/25 11:36 AM, Junio C Hamano wrote:
> > Jon Forrest <nobozo@gmail.com> writes:
> >
> >> P.S. I'm trying to read the Git source code to get a better handle
> >> on what actually goes on in the index but this is taking some time.
> >
> > Depending on the style of the learner, I often recommend reading the
> > very initial revision of Git, i.e.  e83c5163 (Initial revision of
> > "git", the information manager from hell, 2005-04-07), to quickly
> > get a feel of what various pieces there are and how they fit
> > together, by doing
> >
> >      $ git checkout -b initial e83c5163316f89bfb
>
> Thanks for the suggestion. I'll do that.
>
> Meanwhile, do you see any merit to my idea?

Isn't the idea essentially the split index we already have? (See the "SPLIT INDEX" section of the git-update-index manual.)

Previous: Jon ForrestNext: Jon Forrest
Message 6 of 9 in “Question About Sorting the Index”
  1. Jon ForrestMay 16, 2025
  2. Re Question About Sorting the IndexK Jayatheerth, May 17, 2025
  3. Jon ForrestMay 17, 2025
  4. Junio C HamanoMay 17, 2025
  5. Jon ForrestMay 17, 2025
  6. Elijah NewrenMay 18, 2025
  7. Jon ForrestMay 18, 2025
  8. Jon ForrestMay 27, 2025
  9. Junio C HamanoMay 28, 2025

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.