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

Re: git pull a subtree, embedded trees

From
TSTimothy Shimmin <tes@sgi.com>
Date
Sep 18, 2006, 05:57 UTC
Message-ID
<450E3538.4010209@sgi.com>
In-Reply-To
<20060913150028.GB29608@spearce.org>
Hi Shawn,
Shawn Pearce wrote:
Show 7 quoted lines
> Tim Shimmin <tes@sgi.com> wrote:
>> I've written a simple small program to dump out the index
>> entries (cache entries).
> 
> `git-ls-files --stage` also dumps a number of those details, though
> it doesn't dump every available field.
> 

Thanks, that's handy. However, when going through the core-tutorial (copying repository section) and populating the index from the .git objects using git-read-tree, it was nice to see all the stat fields using my program. These fields were empty at that stage, of course, (it was nice to see it) until I had populated the workarea using git-checkout-index. But generally, git-ls-files --stage would be fine.

Show 10 quoted lines
>> I just want to see what is exactly stored in the .git
>> binary files and how they change when I do various git
>> operations.
> 
> You may want to review some of the material in
> Documentation/core-tutorial.txt and Documentation/technical.
> These documents try to describe some of the formats but reviewing
> them now it looks like there's still some additional information
> that could be written down.
> 

Thanks. I've been going through the core-tutorial. It's great.

Cheers, Tim.

Previous: Shawn Pearce
Message 8 of 8 in “git pull a subtree, embedded trees”
  1. Tim ShimminSep 13, 2006
  2. Jakub NarebskiSep 13, 2006
  3. Timothy ShimminSep 18, 2006
  4. Jakub NarebskiSep 18, 2006
  5. Shawn PearceSep 18, 2006
  6. Shawn PearceSep 18, 2006
  7. Shawn PearceSep 13, 2006
  8. Timothy ShimminSep 18, 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.