RE: Is there any plan to support partial checkout or submouduleimprovement?
From: franky <hidden>
Date: 2016-06-15 22:43:42
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:quoted
quoted
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
quoted
quoted
submodule.As I said in the first email, the submodule way suffers from the
multiple
quoted
commit problem: src and bin as two submodules of project, three commits
(for
quoted
the 3 dirs separately) are needed when src directory changes and
compiled
quoted
binaries being put in bin directory. It's annoying to have to give 3
commit
quoted
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
[off-list ref]