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, DKIM_ADSP_CUSTOM_MED,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: Jakub Narebski Subject: Re: [RFC] Submodules in GIT Date: Sat, 16 Dec 2006 02:34:29 +0100 Organization: At home 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 Content-Transfer-Encoding: 7Bit NNTP-Posting-Date: Sat, 16 Dec 2006 01:32:40 +0000 (UTC) Return-path: Envelope-to: gcvg-git@gmane.org X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host-81-190-25-107.torun.mm.pl Mail-Copies-To: jnareb@gmail.com User-Agent: KNode/0.10.2 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 1GvOPh-00040T-CY for gcvg-git@gmane.org; Sat, 16 Dec 2006 02:32:33 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030532AbWLPBca (ORCPT ); Fri, 15 Dec 2006 20:32:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030534AbWLPBca (ORCPT ); Fri, 15 Dec 2006 20:32:30 -0500 Received: from main.gmane.org ([80.91.229.2]:51953 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030532AbWLPBca (ORCPT ); Fri, 15 Dec 2006 20:32:30 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GvOPP-0007od-Is for git@vger.kernel.org; Sat, 16 Dec 2006 02:32:15 +0100 Received: from host-81-190-25-107.torun.mm.pl ([81.190.25.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Dec 2006 02:32:15 +0100 Received: from jnareb by host-81-190-25-107.torun.mm.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Dec 2006 02:32:15 +0100 To: git@vger.kernel.org Sender: git-owner@vger.kernel.org Torgil Svensson wrote: > On 12/16/06, Torgil Svensson wrote: >> >> example tree object: >> >> 100644 blob README >> 100644 blob REPORTING-BUGS >> 100644 link >> 040000 tree arch >> 040000 tree block >> 040000 link >> > > Sorry, I was sloppy and forgot the names: > > 100644 blob README > 100644 blob REPORTING-BUGS > 100644 link AUTHORS > 040000 tree arch > 040000 tree block > 040000 link misc > > Now it doesn't looks like trees/blobs anymore so maybe a link object > is handy: > > 100644 blob README > 100644 blob REPORTING-BUGS > 100644 link AUTHORS > 040000 tree arch > 040000 tree block > 040000 link misc > > link-object: > > What do you need for in link-object? Wouldn't you use usually the sha1 of top tree of a commit, which is uniquely defined by commit object, so you need only ? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git