git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitk: show staged submodules regardless of ignore config

From
Paul Mackerras <paulus@samba.org>
Date
Jun 15, 2014, 04:57 UTC
Message-ID
<20140615045713.GD21978@iris.ozlabs.ibm.com>
In-Reply-To
<xmqqtx7xpwz6.fsf@gitster.dls.corp.google.com>
On Fri, Jun 06, 2014 at 02:08:29PM -0700, Junio C Hamano wrote:
Show 15 quoted lines
> From: Jens Lehmann <Jens.Lehmann@web.de>
> Date: Tue, 8 Apr 2014 21:36:08 +0200
> 
> Currently setting submodule.<name>.ignore and/or diff.ignoreSubmodules to
> "all" suppresses all output of submodule changes for gitk. This is really
> confusing, as even when the user chooses to record a new commit for an
> ignored submodule by adding it manually this change won't show up under
> "Local changes checked in to index but not committed".
> 
> Fix that by using the '--ignore-submodules=dirty' option for both callers
> of "git diff-index --cached" when the underlying git version supports that
> option.
> 
> Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Thanks, applied.
Paul.
Previous: Junio C Hamano
Message 2 of 2 in “gitk: show staged submodules regardless of ignore config”
  1. gitk: show staged submodules regardless of ignore configJunio C Hamano, Jun 6, 2014
  2. Paul MackerrasJun 15, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.