Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2011 10:45:42 +0200
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net>
To:        "K. Macy" <kmacy@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Official git export
Message-ID:  <20110831084542.GC58638@acme.spoerlein.net>
In-Reply-To: <CAHM0Q_NLSDqu73__sTU-eiTu8qadGGjfXX1utD8Nu%2BzewjZLcw@mail.gmail.com>
References:  <CAMBSHm8uX45k0M4on=5Cpw_CKoddA=4oJSNXpH7dGPt=Vy2HOw@mail.gmail.com> <alpine.BSF.2.00.1108261000040.48200@fledge.watson.org> <slrnj5lc58.jd1.vadim_nuclight@kernblitz.nuclight.avtf.net> <4e5ba9c3.bzHIw1KEy8R2QcK7%perryh@pluto.rain.com> <3420B331-C697-468A-80BA-B31C33804710@freebsd.org> <4e5c5b5f.moT7dLemOuteQJ5T%perryh@pluto.rain.com> <4E5C364D.7070904@freebsd.org> <CAHM0Q_Mq3YEEpB6uNymjtd=WCQuTR6gd=71EsLxJf5J0ygyjiw@mail.gmail.com> <20110830201357.GB58638@acme.spoerlein.net> <CAHM0Q_NLSDqu73__sTU-eiTu8qadGGjfXX1utD8Nu%2BzewjZLcw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2011-08-30 at 22:20:55 +0200, K. Macy wrote:
> w far back in time one's repo goes and being
> >> able to have some control over views would go a long way towards
> >> streamlining its use for FreeBSD.
> >
> > Utterly irrelevant. A partial checkout won't make git noticeably
> > faster, as it is pretty darn fast already. Believe me. A truncated
> > history might save you up to 150MB, also totally not worth the effort,
> > especially because then your custom git repo has different hashes and
> > fetching/merging other peoples branches becomes impossible.
> >
> > Furthermore, the point with git is to have multiple branches in your
> > workspace and switch between them (again, this is frigging fast). I was
> > juggling 8-10 branches at one time and have never had the need to create
> > a second workspace ('git stash' being the keyword here).
> >
> > Please have a look at http://wiki.freebsd.org/GitWorkflow and try it
> > out!
> 
> I've been working out of git for the past 15 months:
> 
> https://www.gitorious.org/~kmm/freebsd/kmm-sandbox
> 
> I'm afraid that due to time and bandwidth constraints the size of the
> initial repository is indeed relevant for many of us.

So the full history for head clocks in around 570MB whereas a history
from r225000 onward will take up 164MB of space. I really think that
this factor <4x is something people should just accept. It is a one-time
thing anyway, and if they managed to download an ISO image of FreeBSD or
have Xorg and Firefox installed, they had to download more than that
before.

Funnily enough, people with time and bandwidth constraints are those
that profit from git the most! :)

But noone's forcing anybody to use git, so if svn works better for those
folk (I can hardly imagine how), just continue using it. It's not going
away.

Cheers,
Uli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110831084542.GC58638>