KDE development with git

Boyd Stephen Smith Jr. bss03 at volumehost.net
Fri Jul 13 18:21:59 BST 2007


On Friday 13 July 2007, Simon Hausmann <hausmann at kde.org> wrote about 'Re: 
KDE development with git':
> On Friday 13 July 2007 09:09:05 Boyd Stephen Smith Jr. wrote:
> > > imports of other
> > > project history in git have shown that in average the size of the
> > > entire history compressed is usually just as big as a single source
> > > checkout.
> >
> > That's not my experience on *any* of the numerous trees I've pulled
> > down via git-svn.  Now, the compressed history is smaller than I
> > expected in some cases, but it's still quite a bit larger that a flat
> > source checkout.
>
> Are you sure your repository is compressed?

With git-repack -a -d, yes?

> Yes, you can start history in git-svn from any revision on. I usually
> start at the top like this:

Well, I actually knew about the -r... I just wasn't thinking about it.

I noticed that the --depth option, results in (pre man git-clone):
"A shallow repository has number of limitations (you cannot clone or fetch 
from it, nor push from nor into it)"

That's a killer for me.  I use multiple computers and definitely need to be 
able to clone / fetch from my "private" repositories.

Does -r have similar limitations?

Is there any way to "back fill" the history that's lost by either of these 
options?  It would be ideal for me if I could grab the last committed tree 
and start hacking while a background process retrieved the rest of the 
history.  It would also be nice if clone, fetch, etc. would work *if* 
there was enough history, but error out and/or aggressively fetch the 
history needed to work.

> Git makes it very easy to migrate history between repositories with
> tools like git filter-branch for example.

'k, I've never had to move code between git repositories, yet.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss03 at volumehost.net                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070713/d6bd2a39/attachment.sig>


More information about the kde-core-devel mailing list