Re: [RFC] Submodules in GIT
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 20, 2006, 23:02 UTC
- Message-ID
- <ejtc3e$tod$2@sea.gmane.org>
- In-Reply-To
- <7v7ixp20za.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 10 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes: > >> By the way, in todo branch, in Subpro.txt, there is talk about adding >> link to submodule trees in _commit object_... well link to submodule tree >> or commit, with the "mount point". > > That was shot down by Linus and I agree with him. "bind" was a > bad idea because binding of a particular subproject commit into > a tree is a property of the tree, not one of the commits that > happen to have that tree.
"bind" was kind of "mount tree" idea; I agree that adding subproject commits to trees is better idea than adding commits or trees to superproject commit object.
By the way, what permissions get the subproject tree?
I wonder if it makes sense to be able to add tag objects instead of commit objects to trees (depeel to tree or blob)...
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git