git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Linus Torvalds <torvalds@osdl.org>
Cc: git@vger.kernel.org
Subject: Re: What's up with the GIT archive on www.kernel.org?
Date: Sun, 11 Sep 2005 13:08:07 -0700	[thread overview]
Message-ID: <7v64t7s6zc.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0509111157360.3242@g5.osdl.org> (Linus Torvalds's message of "Sun, 11 Sep 2005 12:06:44 -0700 (PDT)")

Linus Torvalds <torvalds@osdl.org> writes:

> On Sun, 11 Sep 2005, Sam Ravnborg wrote:
>> > 
>> > Absolutely. The mirroring has been slow again lately. I've packed my 
>> > archive, but I suspect others should much more aggressively now be using 
>> > the "objects/info/alternates" information to point to my tree, so that 
>> > they don't even need to have their objects at all (no packing 
>> > even necessary - just running "git prune-packed" on peoples archives 
>> > would get rid of any duplicate objects when I pack mine).
>> 
>> Can you post a small description how to utilize this method?
>
> Just do
>
> 	echo /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects > objects/info/alternates
>
> in your tree, and that will tell git that your tree can use my object 
> directory as an "alternate" source of objects. At that point, you can 
> remove all objects that I have.
>
> However, that only works with a local directory - you can't say that the
> alternate object directory is over the network (unless you use NFS or
> similar, of course ;).
>
> Another potential problem is that while the above makes git understand to
> pick the objects from my directory, it can in theory cause problems for
> mirrors etc - since they mirror things to a different location and/or may
> not mirror all of it anyway.

And probably it would break fetching over dumb transports.

      parent reply	other threads:[~2005-09-11 20:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m3mzmjvbh7.fsf@telia.com>
     [not found] ` <Pine.LNX.4.58.0509110908590.4912@g5.osdl.org>
     [not found]   ` <20050911185711.GA22556@mars.ravnborg.org>
2005-09-11 19:06     ` What's up with the GIT archive on www.kernel.org? Linus Torvalds
2005-09-11 19:46       ` Sam Ravnborg
2005-09-11 19:56         ` Linus Torvalds
2005-09-11 21:09           ` Roland Dreier
2005-09-11 21:24             ` Linus Torvalds
2005-09-11 21:33               ` Linus Torvalds
2005-09-12  1:39                 ` Junio C Hamano
2005-09-12  2:45                   ` Dmitry Torokhov
2005-09-12 18:42                     ` Ryan Anderson
2005-09-12  3:39                   ` Linus Torvalds
2005-09-13  7:05                     ` [PATCH] Define relative .git/objects/info/alternates semantics Junio C Hamano
2005-09-13 16:22                       ` Linus Torvalds
2005-09-13 17:30                         ` Junio C Hamano
2005-09-13 16:31                       ` Daniel Barkalow
2005-09-12 17:10                   ` What's up with the GIT archive on www.kernel.org? H. Peter Anvin
2005-09-12 18:22               ` Tony Luck
2005-09-12 18:37                 ` Linus Torvalds
2005-09-11 20:08       ` Junio C Hamano [this message]

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=7v64t7s6zc.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).