On 2016-11-07, at 8:58 AM, David Karr <[email protected]> wrote:

> This may be a meaningless pedantic argument, but I noticed that the standard 
> git documentation talks about "The Three Trees", being "HEAD", "Index", and 
> "Working Directory".
> 
> I'm aware of the fact that the internal data structure is a tree, but it 
> seems very strange to refer to "HEAD" and "Index" as a "tree".  The former is 
> clearly just a single link to a node in the overall tree, and the latter is 
> clearly a list of nodes in the tree.

What I think these are referring to is the tree of files checked in.

In other words, git's data structure can be thought of as a tree of commits of 
a tree of files.

So, HEAD is a tree of (committed) files, Index is a tree of (about to be 
committed) files, and working is a tree of not committed files.

And, HEAD has a tree of history of changes.
---
Entertaining minecraft videos
http://YouTube.com/keybounce

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to