From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.176.0/21 X-Spam-Status: No, score=-3.4 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 From: "Torgil Svensson" Subject: Re: [RFC] Submodules in GIT Date: Sat, 16 Dec 2006 16:38:50 +0100 Message-ID: References: <20061130170625.GH18810@admingilde.org> <200612152242.50472.Josef.Weidendorfer@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Date: Sat, 16 Dec 2006 15:38:59 +0000 (UTC) Cc: "Josef Weidendorfer" , "R. Steve McKown" , git@vger.kernel.org, "Linus Torvalds" Return-path: Envelope-to: gcvg-git@gmane.org DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ba0pHV9fHA8scNaaCDZDQGU9XHW1EBijlfIYfxkV4y1TGBsTfn00AKBtrNkuWGNr0K9IbrEH46WVtOc/80FzgsdCkVX1haPN1w5BnZ6kIzgIfu7pQe2/r9UI6YdnJ9bMhuMIdW4SMlEQRcCjbsnXWa8ZGcXj34iN/eY1g93L7wI= In-Reply-To: Content-Disposition: inline Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Received: from vger.kernel.org ([209.132.176.167]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gvbcl-0007YJ-Iz for gcvg-git@gmane.org; Sat, 16 Dec 2006 16:38:55 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161066AbWLPPix (ORCPT ); Sat, 16 Dec 2006 10:38:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161067AbWLPPix (ORCPT ); Sat, 16 Dec 2006 10:38:53 -0500 Received: from nf-out-0910.google.com ([64.233.182.185]:29842 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161066AbWLPPiw (ORCPT ); Sat, 16 Dec 2006 10:38:52 -0500 Received: by nf-out-0910.google.com with SMTP id o25so1435898nfa for ; Sat, 16 Dec 2006 07:38:51 -0800 (PST) Received: by 10.49.54.3 with SMTP id g3mr1739121nfk.1166283530889; Sat, 16 Dec 2006 07:38:50 -0800 (PST) Received: by 10.49.28.8 with HTTP; Sat, 16 Dec 2006 07:38:50 -0800 (PST) To: "Jakub Narebski" Sender: git-owner@vger.kernel.org On 12/16/06, Torgil Svensson wrote: > On 12/16/06, Jakub Narebski wrote: > > All fine, but this does not and I think cannot protect us from the > > fact that we can have which doesn't match > > . > > True, that will be a real problem. Unless we have a bug in git, do you > see a scenario in which this is likely to happen? > > I also want a sparse/partial checkout but I don't want > the full submodule path. This might not be as problematic as we think. If we do the same sparse/partial checkout (what's the definition here?) with the as we do with the only case and consider the to be a _local_ (to the super-project) shortcut. Then we only track the submodules using the commit - local conflicts are easier to handle, git would refuse to commit a not present in the commit tree. We might even consider two object types: module: name link: name