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

Re: [PATCH] checkout: respect diff.ignoreSubmodules setting

From
Jens Lehmann <jens.lehmann@web.de>
Date
Aug 25, 2010, 17:48 UTC
Message-ID
<4C755778.7010306@web.de>
In-Reply-To
<alpine.DEB.1.00.1008251225200.4020@intel-tinevez-2-302>
Am 25.08.2010 12:34, schrieb Johannes Schindelin:
Show 13 quoted lines
> 
> When 'git checkout' reports uncommitted changes, it also does so for
> submodules.
> 
> The default mode is now to look really hard into submodules, not only
> for different commits, but also for modified files. Since this can be
> pretty expensive when there are a lot (and large) submodules, there is
> the diff.ignoreSubmodules option.
> 
> Let's respect that setting when 'git checkout' reports the uncommitted
> changes, since it does nothing else than a 'git diff --name-status'.
> 
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Thanks for fixing that!
Acked-by: Jens Lehmann <Jens.Lehmann@web.de>
Previous: Johannes SchindelinNext: Junio C Hamano
Message 2 of 7 in “checkout: respect diff.ignoreSubmodules setting”
  1. checkout: respect diff.ignoreSubmodules settingJohannes Schindelin, Aug 25, 2010
  2. Jens LehmannAug 25, 2010
  3. Junio C HamanoAug 25, 2010
  4. Jens LehmannAug 25, 2010
  5. 0/2 checkout: diff.ignoreSubmodules: Add test and honor per submodule settings tooJens Lehmann, Aug 28, 2010
  6. 1/2 checkout: Add test for diff.ignoreSubmodulesJens Lehmann, Aug 28, 2010
  7. 2/2 checkout: Use submodule.*.ignore settings from .git/config and .gitmodulesJens Lehmann, Aug 28, 2010

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.