One alternative to git submodules is git subtree. Here's a post by Ayende from a couple of months ago, it has an example: http://ayende.com/Blog/archive/2011/01/10/git-subtree.aspx <http://ayende.com/Blog/archive/2011/01/10/git-subtree.aspx>I've never used this so I'm not quite sure about how this behaves for people that are unaware of this tool. I'd expect it to be fully transparent, as it's not a standard git command.
-- Mauricio 2011/4/25 Krzysztof Koźmic <[email protected]> > Thanks Mauricio, I do remember now. > > OK, so what other options do we have on the table? One interesting option > was suggested to me on twitter: > > > > Not sure if that's a viable solution but does sound interesting. What do > you think? Any other ideas? > > Krzysztof > > > On 26/04/2011 11:27 AM, Mauricio Scheffer wrote: > > Actually, we did have all build scripts in a common repository, which we > referenced using git submodules (see > https://github.com/castleproject/Castle.Windsor/commit/1884d62fc8015bbdc7881402d0250f9c8c1b0614 > ) . > > But then we decided to just copy the scripts to every project, as git > submodules have to be manually initialized with git submodule init; git > submodule update (see > http://progit.org/book/ch6-6.html#cloning_a_project_with_submodules ). > > Everyone cloning the repo has to do this to build the project, which is > quite annoying, especially for git newbies. So we ended up killing all > submodules ( > http://www.mail-archive.com/[email protected]/msg07700.html > ). > > -- > Mauricio > > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Development List" group. > To post to this group, send email to [email protected] > . > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/castle-project-devel?hl=en. > -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
