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: Andreas Ericsson Subject: Re: [RFC] Submodules in GIT Date: Fri, 01 Dec 2006 17:38:44 +0100 Message-ID: <45705A94.2070509@op5.se> References: <20061130170625.GH18810@admingilde.org> <200612010902.51264.andyparkins@gmail.com> <20061201110032.GL18810@admingilde.org> <45701B8D.1030508@b-i-t.de> <20061201121234.GQ18810@admingilde.org> <4570289D.9050802@b-i-t.de> <20061201133558.GU18810@admingilde.org> <45703174.8000609@op5.se> <20061201134610.GW18810@admingilde.org> <457041AD.4010601@op5.se> <20061201150045.GZ18810@admingilde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Date: Fri, 1 Dec 2006 16:39:02 +0000 (UTC) Cc: sf , git@vger.kernel.org Return-path: Envelope-to: gcvg-git@gmane.org User-Agent: Thunderbird 1.5.0.7 (X11/20060913) In-Reply-To: <20061201150045.GZ18810@admingilde.org> Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GqBPV-0007LW-RF for gcvg-git@gmane.org; Fri, 01 Dec 2006 17:38:50 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936525AbWLAQir (ORCPT ); Fri, 1 Dec 2006 11:38:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S936526AbWLAQir (ORCPT ); Fri, 1 Dec 2006 11:38:47 -0500 Received: from linux-server1.op5.se ([193.201.96.2]:61596 "EHLO smtp-gw1.op5.se") by vger.kernel.org with ESMTP id S936525AbWLAQiq (ORCPT ); Fri, 1 Dec 2006 11:38:46 -0500 Received: from [192.168.1.20] (unknown [213.88.215.14]) by smtp-gw1.op5.se (Postfix) with ESMTP id 42C026BCC5; Fri, 1 Dec 2006 17:38:45 +0100 (CET) To: Martin Waitz Sender: git-owner@vger.kernel.org Martin Waitz wrote: > hoi :) > > On Fri, Dec 01, 2006 at 03:52:29PM +0100, Andreas Ericsson wrote: >>> Remember: if you git-pull in the supermodule, you want to update the >>> whole thing, including all submodules. >>> >> Only if the new commits I pull into the supermodule DAG has commits >> which includes a new shapshot of the submodule, otherwise it wouldn't be >> necessary. > > Of course. > > But if the supermodule contains changes to the submodule, you still > have to change the submodule. And this implies changing the submodule > HEAD or some branch. > Not really. I fail to see why HEAD needs to be changed so long as the commit is in the submodule's odb. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se