Thread (19 messages) flat view 19 messages, 12 authors, 2016-06-15

Re: About detached heads

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:44:23

On Fri, 14 Mar 2008, Rafael Garcia-Suarez wrote:
On 14/03/2008, Chris Shoemaker wrote:
quoted
  This way you would get exactly:

    1---2---3---4---5---3'   <--- master <--- HEAD


 While the 3' commit has the same contents as 3, it is a new, distinct
  commit with its own history.  Its commit message should explain why
  you want to go from 5 back to the contents of 3.
Just a small question -- does that mean that 3 and 3' share the same
tree object ?
Yes it does. 

Commit object has link to a tree object in the form
of its sha1 id, and repository's object store is content addressed,
or to be more exact sha-1 id of contents addressed.

-- 
Jakub Narebski
Poland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help