Web lists-archives.com

Re: diff.ignoreSubmoudles config setting broken?




Stefan Beller <sbeller@xxxxxxxxxx> writes:

> On Wed, Mar 8, 2017 at 7:07 AM, Sebastian Schuberth
> <sschuberth@xxxxxxxxx> wrote:
>>
>> + Jens
>>
>
> + Jacob Keller, who touched submodule diff display code last.
> (I am thinking of fd47ae6a, diff: teach diff to display submodule
> difference with an inline diff, 2016-08-31), which is first release as
> part of v2.11.0 (that would fit your observance)

Between these two:

	git -c diff.ignoresubmodules=all diff
	git diff --ignore-submodules=all

one difference is that the latter disables reading extra config from
.gitmodules (!) while the former makes the command honor it.

This comes from aee9c7d6 ("Submodules: Add the new "ignore" config
option for diff and status", 2010-08-06), which is ancient and
predates even v2.0, so if you see problems with v2.12 or v2.11 but
not with older ones, that would rule out this theory.