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

Re: Revision Generation Question

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
May 20, 2010, 11:34 UTC
Message-ID
<AANLkTimg2zxwI2LC97sNyRpa8zChSUPeWCU-zr1DLbuK@mail.gmail.com>
In-Reply-To
<000d01caf7f0$7f8c6700$7ea53500$@anu.edu.au>
Hi,
On Thu, May 20, 2010 at 9:46 AM, Albert Krawczyk <u4232169@anu.edu.au> wrote:
> I'm trying to figure out how the internal revision generation works. Could
> somebody shed some light on how this happens in the code?

In short, there are four kinds of objects that Git uses internally: commit, blob, tree and tag. It can compress objects into a packfile for minimizing storage space. I recommend chapter 9 of the Pro Git book for more [1].

-- Ram
[1] http://progit.org/book/ch9-0.html
Previous: Albert Krawczyk
Message 2 of 2 in “Revision Generation Question”
  1. Albert KrawczykMay 20, 2010
  2. Ramkumar RamachandraMay 20, 2010

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.