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.5 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 From: Linus Torvalds Subject: Re: [RFC] Submodules in GIT Date: Fri, 15 Dec 2006 18:12:24 -0800 (PST) Message-ID: References: <20061130170625.GH18810@admingilde.org> <200612150007.44331.Josef.Weidendorfer@gmx.de> <200612152242.50472.Josef.Weidendorfer@gmx.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII NNTP-Posting-Date: Sat, 16 Dec 2006 02:12:39 +0000 (UTC) Cc: Josef Weidendorfer , "R. Steve McKown" , git@vger.kernel.org Return-path: Envelope-to: gcvg-git@gmane.org In-Reply-To: X-MIMEDefang-Filter: osdl$Revision: 1.163 $ X-Scanned-By: MIMEDefang 2.36 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 1GvP2R-0006zj-TK for gcvg-git@gmane.org; Sat, 16 Dec 2006 03:12:36 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030582AbWLPCMd (ORCPT ); Fri, 15 Dec 2006 21:12:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030585AbWLPCMd (ORCPT ); Fri, 15 Dec 2006 21:12:33 -0500 Received: from smtp.osdl.org ([65.172.181.25]:36608 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030582AbWLPCMc (ORCPT ); Fri, 15 Dec 2006 21:12:32 -0500 Received: from shell0.pdx.osdl.net (fw.osdl.org [65.172.181.6]) by smtp.osdl.org (8.12.8/8.12.8) with ESMTP id kBG2CPID020042 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 15 Dec 2006 18:12:25 -0800 Received: from localhost (shell0.pdx.osdl.net [10.9.0.31]) by shell0.pdx.osdl.net (8.13.1/8.11.6) with ESMTP id kBG2COig008929; Fri, 15 Dec 2006 18:12:24 -0800 To: Torgil Svensson Sender: git-owner@vger.kernel.org On Fri, 15 Dec 2006, Linus Torvalds wrote: > > On Sat, 16 Dec 2006, Torgil Svensson wrote: > > > > 100644 blob README > > 100644 blob REPORTING-BUGS > > 100644 link > > 040000 tree arch > > 040000 tree block > > 040000 link > > That 040000 needs to be something else. Side note: that's not to say that I would really see why you'd want to have both the tree and the commit SHA1's, and why you seemingly think that the links don't need a filename. Hmm? If you require the tree objects to be in the database, you might as well require that the commit object be there. But you could make rules that say that subprojects don't need the whole commit history, for example (which is just a shallow clone in the subproject).