From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brown Subject: Re: [PATCH/RFC] Documentation/git-gc.txt: add reference to githooks Date: Tue, 21 Sep 2010 11:14:06 -0700 Message-ID: <20100921181406.GA7389@huya.qualcomm.com> References: <1277744834-7546-1-git-send-email-judge.packham@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Tue Sep 21 20:14:16 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oy7M7-0006TP-Li for gcvg-git-2@lo.gmane.org; Tue, 21 Sep 2010 20:14:16 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758078Ab0IUSOI (ORCPT ); Tue, 21 Sep 2010 14:14:08 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:44125 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755880Ab0IUSOH (ORCPT ); Tue, 21 Sep 2010 14:14:07 -0400 X-IronPort-AV: E=McAfee;i="5400,1158,6113"; a="55234716" Received: from pdmz-css-vrrp.qualcomm.com (HELO mostmsg01.qualcomm.com) ([199.106.114.130]) by wolverine01.qualcomm.com with ESMTP/TLS/ADH-AES256-SHA; 21 Sep 2010 11:14:07 -0700 Received: from huya.qualcomm.com (pdmz-snip-v218.qualcomm.com [192.168.218.1]) by mostmsg01.qualcomm.com (Postfix) with ESMTPA id D403F10004C8 for ; Tue, 21 Sep 2010 11:14:03 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1277744834-7546-1-git-send-email-judge.packham@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Suppose I want to publish some changes to a tree. I have a server available where I can run a git daemon, but for one reason or another I want to force people to use the another git repo as a reference. The reason could be one of bandwidth, or someone who isn't comfortable making all of the other source available. Ideally, someone who already has the other git repo cloned, and just adds mine as a remote wouldn't notice the difference. Is there a way to do this? I've tried various ways of using alternates to keep the blobs out of the repository I want to export, but the daemon just follows the alternates. If I remove the alternates, I then seem to have a broken repository. Most things I try, at least carry objects for all of the files in the HEAD tree, which most of the time is a large portion of the data. If there isn't a way of doing this currently, is this something that others would find useful? Thanks, David -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.