Re: newbie questions about git design and features (some wrt hg)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jakub Narebski
Date: Friday, February 2, 2007 - 10:18 am

On 02.02.2004, Matt Mackall wrote:


By changeset you mean commit-revlog (changelog)? 

Where those branch markers are stored? Are those markers moving pointers,
meaning that if you make a commit while on branch, branch marker for
current branch will move?

Static markers cannot identify branch in the presence of branch points:

                   ---a<---b ........ side branch
                  /
  1<---2<---3<---4<---5<---6<---7 ... main branch
            ^
            :   
             ''''' tag


What is the first number? I understand that second is shortened (is it
stored shortened, I wonder) hash identifier of a commit...


Git (at least for now) writes nothing on checkout; it is planned that
it would write changes status-like; perhaps summary would be enough...
or is it only working area status that is to be written...


Revision-controlled (in-tree) tags are inane idea. Tags are non-moving
(and sometimes annotated) pointers to given point in history. They should
not depend on which branch you are, or what version you have checked out.

Otherwise the following would not work:
 $ git reset --hard v1.0.0
 $ git reset --hard v1.4.4.4
(it could be "git checkout" instead of "git reset --hard" in 'master'
version of git, with "detached HEAD" / "anonymous branch" feature).


But do you compress metadata (like base of a delta for file deltas,
authorship of a commit and reference to manifest-log entry)? Do manifest
is delta-encoded?

-- 
Jakub Narebski
Poland
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: newbie questions about git design and features (some w ..., Simon 'corecode' Sch ..., (Thu Feb 1, 12:59 am)
Re: newbie questions about git design and features (some w ..., Johannes Schindelin, (Thu Feb 1, 3:09 am)
Re: newbie questions about git design and features (some w ..., Simon 'corecode' Sch ..., (Thu Feb 1, 3:15 am)
Re: newbie questions about git design and features (some w ..., Johannes Schindelin, (Thu Feb 1, 3:49 am)
Re: newbie questions about git design and features (some w ..., Simon 'corecode' Sch ..., (Fri Feb 2, 6:51 am)
Re: newbie questions about git design and features (some w ..., Jakub Narebski, (Fri Feb 2, 10:18 am)