Re: [PATCH] RFC: git lazy clone proof-of-concept

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dnia piątek 15. lutego 2008 00:38, Johannes Schindelin napisał:
> Hi,
> 
> On Thu, 14 Feb 2008, Jakub Narebski wrote:
>
>> I wonder if proper subdivision into submodules (which should
>> encourage better code by the way, see TAOUP), and perhaps
>> _partial checkouts_ wouldn't be better solution than _lazy clone_.
>> But it is nice to have long discussed about feature, even if at
>> RFC stage, but with some code. 
> 
> I think partial checkouts are wrong.  If you can work on partial 
> checkouts, chances are that what you work on should be a submodule.
> 
> Having said that, I can understand if some people do not want to have
> the hassle of test^H^H^H^Husing submodules...

IMHO there is place for submodules, there is place for partial 
checkouts, and perhaps there is even place for the combination of two.

For example while Documentation/ isn't a good candidate for a submodule, 
because as you add new feature yuou want to add to documentation, if 
you change some feature you want to change documentation: there are 
whole-tree commits which contain changes outside Documentation/.
Nevertheless there are some people (technical writers) which are 
interested only in Documentation; perhaps only in few files there.
They would want to have partial checkout, I guess.

On the other hand cgit and msysgit use submodules, and I think it is 
good solution. I wonder if Sourcemage Linux distro uses submodules... 
In the case of cgit I think having git.git or its clone/fork as 
submodule is a good idea, but perhaps even better would be to checkout 
only part of it: libgit or libgitthin

-- 
Jakub Narebski
Poland
-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux