From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: Git issues with submodules Date: Mon, 25 Nov 2013 12:53:45 -0800 Message-ID: References: <20131122151120.GA32361@sigill.intra.peff.net> <528FC638.5060403@web.de> <20131122215454.GA4952@sandbox-ub> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jens Lehmann , Ramkumar Ramachandra , Sergey Sharybin , Jeff King , Git List To: Heiko Voigt X-From: git-owner@vger.kernel.org Mon Nov 25 21:53:56 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vl3AK-0008KF-7j for gcvg-git-2@plane.gmane.org; Mon, 25 Nov 2013 21:53:56 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751665Ab3KYUxv (ORCPT ); Mon, 25 Nov 2013 15:53:51 -0500 Received: from b-pb-sasl-quonix.pobox.com ([208.72.237.35]:45439 "EHLO smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750709Ab3KYUxt (ORCPT ); Mon, 25 Nov 2013 15:53:49 -0500 Received: from smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 52B0C5396D; Mon, 25 Nov 2013 15:53:48 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=6coV9Leji0Ko33kn+f6grGcLm0k=; b=Shb9oF DoYlgxopTybl36X/CulnKPtw+DXSZZq8AlgyVwMcajukTVRplLxvojAp3tblgB4P KWQsa15C8ZPPtH3OLkU8eeBkF412Hzq+X7mmMah6r0mewaDWX8yhZP2Rg9CgF1ts zFqL++CAvviD5T8eSo3faNm3d/tLdXPNdqJc8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=ec7NVjwlra7ycxCePARbCmPXaJ3BfB8E H6/A7Jp0bAXbZK+6rga4ktxPiPS4crKtyzBn0wM86r2MIV40gxQOnX8onGUpWlpZ Easal3oqUqOBF+b0kynHgIAZvdGxAQqdYFM75QDQecXNbkWFFREQadji00nbSt1v TzgFrqvEPJI= Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 434EB5396C; Mon, 25 Nov 2013 15:53:48 -0500 (EST) Received: from pobox.com (unknown [72.14.226.9]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 863F253969; Mon, 25 Nov 2013 15:53:47 -0500 (EST) In-Reply-To: <20131122215454.GA4952@sandbox-ub> (Heiko Voigt's message of "Fri, 22 Nov 2013 22:54:54 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: AE0B4530-5613-11E3-A1BE-D331802839F8-77302942!b-pb-sasl-quonix.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Heiko Voigt writes: > What I think needs fixing here first is that the ignore setting should not > apply to any diffs between HEAD and index. IMO, it should only apply > to the diff between worktree and index. Hmph. How about "git diff $commit", the diff between the worktree and a named commit (which may or may not be HEAD)? > When we have that the user does not see the submodule changed when > normally working. But after doing git add . the change to the submodule > should be shown in status and diff regardless of the configuration. Yes, that sounds sensible.