On Fri, Nov 6, 2009 at 09:35, Dmitry Smirnov <divis1969@xxxxxxxxx> wrote: > No, #2 is about the repository slicing, branching, merging (SCM in other words). > Let's suppose I have the product that have 2 directories: component1 and > component2. They were developing together for previous product (on the same > branch, for example). Now, I would like to have component1 and replace > component2 with some 3rd party component. What should I do with Git to get this? > Or maybe I wish to stick with some version of component2 and provide only bug > fixes for this product... > Or let's take a look at GDB. They are using binutils which are in separate > repository (they use CVS, but let's imagine they use Git). How many effors they > will need for SCM? For example, they would prefer to stick to some stable > version/branch of the binutils but should be able to commit bug fixes. > > Once again, perhaps there is some way to do this with Git? I did not yet find > it. > Sounds like you want submodules. Check out the git-submodule(1) manpage. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html