threads / discuss / 23851

Revision Generation Question

Subject: Revision Generation Question

## tl;dr

2 messages between May 20, 2010 and May 20, 2010.

replies: 1people: 2as markdown or json

Albert Krawczyk· May 20, 2010, 07:46 UTC · lore
Hi,

I'm trying to figure out how the internal revision generation works. Could somebody shed some light on how this happens in the code?

I've stepped through the code, however, I still don't really understand how the revision history gets generated.

Any pointers will be greatly appreciated :)  
Albert 
Ramkumar Ramachandra· May 20, 2010, 11:34 UTC · re: Albert Krawczyk · lore

Re: Revision Generation Question

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

← back to recent threads