Re: tracking submodules out of main directory.
- From
- henri GEIST <henri.geist@flying-robots.com>
- Date
- Jun 27, 2011, 18:52 UTC
- Message-ID
- <1309200722.2497.294.camel@Naugrim.eriador.com>
- In-Reply-To
- <4E08C89E.5020109@web.de>
Le lundi 27 juin 2011 à 20:14 +0200, Jens Lehmann a écrit :
Show 13 quoted lines
> Am 27.06.2011 18:51, schrieb Junio C Hamano: > > One possible working tree organization may look like this: > > > > -+- lib1 > > +- project1/Makefile -- refers to ../lib1 > > +- project2/Makefile -- refers to ../lib1 > > This is what we do at work and it works really well for us. The > possible downside (that you can't tie project1 and project2 to a > specific version of lib1 in their own repo) is not a real problem > in our experience, as the superproject ties the correct combination > together. >
That is a good starting point. I have used this method for some little projects and it work great.
But I had never find a mean to handle the case of project1 depending on both lib1 and lib2.
Henri GEIST