From: franky Date: Wed, 17 Oct 2007 02:54:43 GMT Subject: RE: Is there any plan to support partial checkout or submouduleimprovement? Message-ID: <20071017025446.51ED77E83@mail.kooxoo.com> In-Reply-To: <20071016213359.GJ26127@efreet.light.src> franky > -----Original Message----- > From: Jan Hudec [mailto:bulb@ucw.cz] > Sent: Wednesday, October 17, 2007 5:34 AM > To: franky > Cc: 'Johannes Schindelin'; 'Lars Hjemli'; git@vger.kernel.org > Subject: Re: Is there any plan to support partial checkout or > submouduleimprovement? > > On Tue, Oct 16, 2007 at 19:53:08 +0800, franky wrote: > > > You are talking as if your partial checkout was a project in its own > > > right. Then make it so. Do not use a partial checkout, but make that a > > > submodule. > > > > As I said in the first email, the submodule way suffers from the multiple > > commit problem: src and bin as two submodules of project, three commits (for > > the 3 dirs separately) are needed when src directory changes and compiled > > binaries being put in bin directory. It's annoying to have to give 3 commit > > logs. > > Thinking about it, it's only two commits -- src can be a submodule, but bin > a normal directory (you can choose not to check out subprojects during > repository checkout). > Now I would actually say that commiting bin independently is better. > It allows you to commit sources more often (eg. if you are doing series of > small fixes) and more flexibility for branching (you don't want to merge > binaries). > Thanks for the advice. It's a good idea. > -- > Jan 'Bulb' Hudec