From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Schindelin Subject: Re: [PATCH] better git-submodule status output Date: Mon, 7 Jul 2008 15:37:38 +0100 (BST) Message-ID: References: <20080701150119.GE5852@joyeux> <7vhcb3o7q3.fsf@gitster.siamese.dyndns.org> <20080706160758.GA23385@jhaampe.org> <20080707062142.GA5506@jhaampe.org> <32541b130807070725p6fa4d0dfne9f04bc857920dc7@mail.gmail.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Sylvain Joyeux , Junio C Hamano , Lars Hjemli , Ping Yin , Mark Levedahl , git@vger.kernel.org To: Avery Pennarun X-From: git-owner@vger.kernel.org Mon Jul 07 16:40:46 2008 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 1KFrtH-0004MP-Mu for gcvg-git-2@gmane.org; Mon, 07 Jul 2008 16:40:32 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753645AbYGGOje (ORCPT ); Mon, 7 Jul 2008 10:39:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753626AbYGGOje (ORCPT ); Mon, 7 Jul 2008 10:39:34 -0400 Received: from mail.gmx.net ([213.165.64.20]:38805 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753620AbYGGOjd (ORCPT ); Mon, 7 Jul 2008 10:39:33 -0400 Received: (qmail invoked by alias); 07 Jul 2008 14:39:32 -0000 Received: from grape.st-and.ac.uk (EHLO grape.st-and.ac.uk) [138.251.155.28] by mail.gmx.net (mp010) with SMTP; 07 Jul 2008 16:39:32 +0200 X-Authenticated: #1490710 X-Provags-ID: V01U2FsdGVkX18geSAH070giXGsGQprc+1OR2MbMesMqm7tuRG12G Ox2k0xltck4a/Y X-X-Sender: gene099@racer In-Reply-To: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.72 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Hi, On Mon, 7 Jul 2008, Johannes Schindelin wrote: > On Mon, 7 Jul 2008, Avery Pennarun wrote: > > > The trick here, I think, is that there's only one time the submodule > > should be linked to a commit you don't actually have. It should only > > happen if your parent module (supermodule) has been updated, but you > > haven't recently done a fetch in the submodule. > > Noooooo! > > If I am actively working on the submodule, the supermodule has _no > business_ trying to wreck my state. Ooops. The part I should have quoted was this: > Thus, I'd say the best fix would be to find a way to have "git pull" or > "git fetch" in the supermodule also do a fetch in the submodule. Now you will understand my objection, hopefully, Dscho