git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* trying to figure out this git thing - some questions
@ 2005-04-14 19:02 Ehud Shabtai
  2005-04-14 23:52 ` tony.luck
  0 siblings, 1 reply; 2+ messages in thread
From: Ehud Shabtai @ 2005-04-14 19:02 UTC (permalink / raw)
  To: git

I'm trying to understand how it works and I'll appreciate if someone could help.

1. git uses object abstraction for the different types and so
everything is in one directory (objects). From what I've seen in the
implementation, the different kind of objects are not of the same type
(there aren't any operations which work on two different types) and
thus in each step when an object is used its type is verified.
What's the benefit of having them all in the same tree? An alternative
would be to separate the different object types into different
directories which trivially allows getting a list of all commits, or
trees or blobs.

2. A commit can have more than one parent. Can anyone draw an example
of such a case? When do we get a commit graph which is not linear?

3. How does git handle binary files? I guess it doesn't really care if
it's binary or text, but how would the diff and merge scripts handle
them?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-14 23:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-14 19:02 trying to figure out this git thing - some questions Ehud Shabtai
2005-04-14 23:52 ` tony.luck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).