On Mon, 28 Mar 2016 18:07:43 +0300, marius adrian popa wrote:
> On Mon, Mar 28, 2016 at 5:59 PM, Michal Kubecek <m...@mk-sys.cz> 
> wrote:
>
>> On Mon, Mar 28, 2016 at 04:25:15PM +0200, Dimitry Sibiryakov wrote:
>> > 28.03.2016 16:16, Jim Starkey wrote:
>> > > nothing else was more suitable.
>> >
>> > But still clone of Firebird repository is 10 times bigger than its
>> > sources.
>>
>> That's one way to look at it. Another way is to say it's about 0.18 
>> EUR
>> of disk space in case of a SSD and 0.02 EUR in case of classical
>> magnetic disk.
>>
>> It's always a bit of shock for developers used to centralized VCS 
>> (CVS,
>> Subversion, ...) when they see how long "git clone" takes and how 
>> much
>> data does it download. But that's the point of distributed VCS: you 
>> have
>> a complete history stored locally. What you get is fast "git log"
>> (compare to "svn log"), "git blame" etc. The question you should ask 
>> is:
>> how many times do I run "git clone" and how many times will I need
>> "git log" or "git blame"?
>>
>> I believe those 492 MB of disk space are worth the comfort it 
>> brings.
>> BtW., the directory with my checked out trunk from Subversion has 
>> 636 MB
>> for some reason.
>>


My shallow clone of fb3 is only 16MB


git clone --depth=20 -b=B3_0_Release 
https://github.com/FirebirdSQL/firebird

$ cd firebird
$ du -chs .git

is might be worth running
$ git gc
especially on the github repo, as repo's which were converted from svn 
can be huge, unless you run 'git gc' on them.
check the size before and after.


Regards, Treeve


>>                                                           Michal 
>> Kubecek
>>
>>
>>
>> 
>> ------------------------------------------------------------------------------
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
>> Firebird-Devel mailing list, web interface at
>> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>>
>
>
> compared with libreoffice firebird repository is small :)
> ~/work/libo$ du -sch .git
> 1.8G .git
>
> Also with git you can clone only one branch
> http://stackoverflow.com/questions/4811434/clone-only-one-branch

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to