From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Ravnborg Subject: Re: What's up with the GIT archive on www.kernel.org? Date: Sun, 11 Sep 2005 21:46:30 +0200 Message-ID: <20050911194630.GB22951@mars.ravnborg.org> References: <20050911185711.GA22556@mars.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Peter Osterlund , Linux Kernel Mailing List , Git Mailing List X-From: linux-kernel-owner+glk-linux-kernel-3=40m.gmane.org-S1750835AbVIKToj@vger.kernel.org Sun Sep 11 21:45:30 2005 Return-path: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EEXlK-0007Db-1e for glk-linux-kernel-3@gmane.org; Sun, 11 Sep 2005 21:45:14 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750835AbVIKToj (ORCPT ); Sun, 11 Sep 2005 15:44:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750828AbVIKToj (ORCPT ); Sun, 11 Sep 2005 15:44:39 -0400 Received: from pfepa.post.tele.dk ([195.41.46.235]:54395 "EHLO pfepa.post.tele.dk") by vger.kernel.org with ESMTP id S1750826AbVIKToi (ORCPT ); Sun, 11 Sep 2005 15:44:38 -0400 Received: from mars.ravnborg.org (0x50a0757d.hrnxx9.adsl-dhcp.tele.dk [80.160.117.125]) by pfepa.post.tele.dk (Postfix) with ESMTP id 8A36B47FEDF; Sun, 11 Sep 2005 21:44:37 +0200 (CEST) Received: by mars.ravnborg.org (Postfix, from userid 1000) id 2E1CD6AC01D; Sun, 11 Sep 2005 21:46:30 +0200 (CEST) To: Linus Torvalds Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org Archived-At: > > > > 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. OK - what I did: cd /pub/scm/linux/kernel/git/sam rm -rf kbuild.git git clone /pub/scm/linux/kernel/git/torvalds/linux-2.6.git kbuild.git rename to .git to kbuild.git I had to specify both GIT_DIR and GIT_OBJECT_DIRECTORY to make git-prune-packed behave as expected. I assume this is normal when I rename the .git directory like in this case. I will se if any pullers complins (mostly/only Andrew I think). Sam