git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Enrico Weigelt <enrico.weigelt@vnc.biz>
To: Sitaram Chamarty <sitaramc@gmail.com>
Cc: Michael J Gruber <git@drmicha.warpmail.net>,
	Andrew Ardill <andrew.ardill@gmail.com>,
	Javier Domingo <javierdo1@gmail.com>,
	git@vger.kernel.org
Subject: Re: Local clones aka forks disk size optimization
Date: Sun, 18 Nov 2012 18:02:37 +0100 (CET)	[thread overview]
Message-ID: <27f681a7-f87d-47b4-a512-93511b44b286@zcs> (raw)
In-Reply-To: <CAMK1S_hCk3QdDn8XnXVisL1i2V0iPCZBYN989JmZ3JYr7ckRrA@mail.gmail.com>

Hi,

> That's not the only problem.  I believe you only get the savings when
> the main repo gets the commits first.  Which is probably ok most of
> the time but it's worth mentioning.

Well, the saving will just be deferred to the point where the commit
finally went to the main repo and downstreams are gc'ed.

> > hmm, distributed GC is a tricky problem.
> 
> Except for one little issue (see other thread, subject line "cloning
> a
> namespace downloads all the objects"), namespaces appear to do
> everything we want in terms of the typical use cases for alternates,
> and/or 'git clone -l', at least on the server side.

hmm, not sure about the actual internals, but that namespace filtering
should work in a way that local clone should never see (or consider)
remote refs that are outside of the requested namespace. Perhaps that
should be handled entirely on server side, so all called commands treat
these refs as nonexisting.

By the way: what happens if one tries to clone from an broken repo
(which has several refs pointing to nonexisting objects ?


cu
-- 
Mit freundlichen Grüßen / Kind regards 

Enrico Weigelt 
VNC - Virtual Network Consult GmbH 
Head Of Development 

Pariser Platz 4a, D-10117 Berlin
Tel.: +49 (30) 3464615-20
Fax: +49 (30) 3464615-59

enrico.weigelt@vnc.biz; www.vnc.de 

  reply	other threads:[~2012-11-18 17:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CALZVapmG+HL0SQx8zx=Cfz5pWv84hJq90x-7VdjA0m2Z4dC34A@mail.gmail.com>
2012-11-14 23:42 ` Fwd: Local clones aka forks disk size optimization Javier Domingo
2012-11-15  0:18   ` Andrew Ardill
2012-11-15  0:40     ` Javier Domingo
2012-11-15  0:53       ` Andrew Ardill
2012-11-15  1:15         ` Javier Domingo
2012-11-15  1:34           ` Andrew Ardill
2012-11-15  3:44             ` Sitaram Chamarty
2012-11-16 11:25               ` Michael J Gruber
2012-11-16 18:04                 ` Enrico Weigelt
2012-11-18 10:42                   ` Sitaram Chamarty
2012-11-18 17:02                     ` Enrico Weigelt [this message]
2012-11-16 14:55           ` Pyeron, Jason J CTR (US)
     [not found]   ` <CAKs0BQ7RyLZr+ZU=hAC4U7xXpE0+xvORTrvfzFYb6muA2TgM4Q@mail.gmail.com>
2012-11-18 17:18     ` Jörg Rosenkranz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=27f681a7-f87d-47b4-a512-93511b44b286@zcs \
    --to=enrico.weigelt@vnc.biz \
    --cc=andrew.ardill@gmail.com \
    --cc=git@drmicha.warpmail.net \
    --cc=git@vger.kernel.org \
    --cc=javierdo1@gmail.com \
    --cc=sitaramc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).