git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: Is there any plan to support partial checkout or submouduleimprovement?

From
Ffranky <yinping@kooxoo.com>
Date
Oct 17, 2007, 02:54 UTC
Message-ID
<20071017025446.51ED77E83@mail.kooxoo.com>
In-Reply-To
<20071016213359.GJ26127@efreet.light.src>
 franky
Show 11 quoted lines
> -----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
Show 7 quoted lines
> 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
<bulb@ucw.cz>
Previous: Jan Hudec
Message 11 of 11 in “Is there any plan to support partial checkout or submoudule improvement?”
  1. frankyOct 16, 2007
  2. Lars HjemliOct 16, 2007
  3. frankyOct 16, 2007
  4. Lars HjemliOct 16, 2007
  5. frankyOct 16, 2007
  6. Lars HjemliOct 16, 2007
  7. frankyOct 16, 2007
  8. Johannes SchindelinOct 16, 2007
  9. frankyOct 16, 2007
  10. Jan HudecOct 16, 2007
  11. frankyOct 17, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.