Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Cloning empty repositories, was Re: What is the idea for bare repositories?

From: Sergei Organov <hidden>
Date: 2016-06-15 22:43:50

Jakub Narebski [off-list ref] writes:
Sergei Organov wrote:
quoted
Just a wild idea. Doesn't it make sense to introduce perfect ultimate
common ancestor of the universe, probably calling it "the NULL commit"?
At first glance it seems that it can help to avoid corner cases
automagically.
No. Sometimes you want unrelated branches in repository ('html', 'man',
'todo' branches in git.git), sometimes multiple roots are natural (merging
in a project, like git-mailtools, gitweb, gitk, git-gui in git.git).
Sorry, I fail to see how does it interfere with the idea of the NULL
commit. What if  "unrelated" is defined as "the only common
ancestor is the NULL commit"?

Anyway, I'm not going do defend the idea further. I just recalled I
heard about it somewhere, probably in Bazaar-NG, and I thought I'd
mention it here as it appeared very natural to me.

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