From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Ericsson Subject: Re: Feedback outside of the user survey Date: Mon, 20 Oct 2008 18:11:12 +0200 Message-ID: <48FCADA0.4020008@op5.se> References: <2d460de70810160319r4bed8643g884508cdeba772@mail.gmail.com> <20081016115628.GA24836@garry-x300.arpnetworks.com> <2d460de70810160618u1803375aj913145a5060e5308@mail.gmail.com> <48F7A4F8.2080600@jaeger.mine.nu> <20081018134906.GA13894@garry-thinkpad.arpnetworks.com> <48F9EC2B.2010200@jaeger.mine.nu> <48FC55F9.3060509@op5.se> <48FC9927.5030903@jaeger.mine.nu> <48FC9D87.3010303@op5.se> <48FCA1BC.3060300@jaeger.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Garry Dolley , Richard Hartmann , git@vger.kernel.org To: Christian Jaeger X-From: git-owner@vger.kernel.org Mon Oct 20 20:36:24 2008 connect(): Connection refused Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KrxMv-0008L1-UE for gcvg-git-2@gmane.org; Mon, 20 Oct 2008 18:12:34 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751969AbYJTQLW (ORCPT ); Mon, 20 Oct 2008 12:11:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751946AbYJTQLW (ORCPT ); Mon, 20 Oct 2008 12:11:22 -0400 Received: from mail.op5.se ([193.201.96.20]:36811 "EHLO mail.op5.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbYJTQLV (ORCPT ); Mon, 20 Oct 2008 12:11:21 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.op5.se (Postfix) with ESMTP id 3C1DC1B80051; Mon, 20 Oct 2008 18:04:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -3.875 X-Spam-Level: X-Spam-Status: No, score=-3.875 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.524, BAYES_00=-2.599] Received: from mail.op5.se ([127.0.0.1]) by localhost (mail.op5.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4M+LQI3lVRfX; Mon, 20 Oct 2008 18:04:42 +0200 (CEST) Received: from clix.int.op5.se (unknown [192.168.1.20]) by mail.op5.se (Postfix) with ESMTP id 229641B8004E; Mon, 20 Oct 2008 18:04:41 +0200 (CEST) User-Agent: Thunderbird 2.0.0.16 (X11/20080723) In-Reply-To: <48FCA1BC.3060300@jaeger.mine.nu> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Christian Jaeger wrote: > Andreas Ericsson wrote: >> Christian Jaeger wrote: >>> Andreas Ericsson wrote: >>>> Christian Jaeger wrote: >>>>> If you really wanted, I suppose you could additionally look into >>>>> implementing a kind of shallow cloning that only copies objects >>>>> over the wire which are necessary for representing the subdirectory >>>>> you're interested in. >>>>> >>>> >>>> So what do you do when one such commit also affects something outside >>>> the subdirectory? >>> >>> You haven't said what you mean with "affect". >>> >> >> I mean "how would you handle a commit (and its tree-object) that updates >> all Makefiles in, for example, the Linux kernel project?". Those files >> are spread far and wide, and you'd want that change to *your* tree, but >> getting it into your tree either means you need to rewrite the tree (and >> thereby the commit) itself to get rid of uninteresting blob's from the >> tree, and you'd also have to prune the tree to not reveal the directory >> layout of the rest of the repository. > > You have said "either" but not "or". "or end up transferring all objects on the wire anyway". > >> I take it parentage could be resolved by a ridiculously large >> grafts-file. > > Hm, not sure whether you mean to rescue the situation with rewritten > commits here -- but hell no, I certainly don't mean to have different > commit objects for different clones/checkouts. > Then you'll be transferring all objects over the wire anyway, so there goes that idea. >> What you'd end up with wouldn't be a git repository at all anymore. It >> would be a "stump", as it'd be missing large parts of the tree entirely. > > That was my point, yes. > That's partially implemented, I think (google for Nguy (or something, I'm not very god with asian names), but your original suggestion said to save on transferring objects from one machine to another, which will play poorly with git's object database and which you're now arguing against. Please make up your mind. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231