Re: diff.ignoreSubmoudles config setting broken?
- From
Jeff King <peff@peff.net>
- Date
- Mar 8, 2017, 13:33 UTC
- Message-ID
- <20170308133348.2ovfsi44vq2rpgom@sigill.intra.peff.net>
- In-Reply-To
- <5e5b1b92-f7c6-2987-356e-1aab2bff557e@gmail.com>
On Wed, Mar 08, 2017 at 01:54:02PM +0100, Sebastian Schuberth wrote:
Show 15 quoted lines
> I'm getting > > $ git config --global diff.ignoreSubmodules all > $ git diff > diff --git a/scanners/scancode-toolkit b/scanners/scancode-toolkit > index 65e5c9c..6b021a8 160000 > --- a/scanners/scancode-toolkit > +++ b/scanners/scancode-toolkit > @@ -1 +1 @@ > -Subproject commit 65e5c9c9508441c5f62beff4749cf455c6eadc30 > +Subproject commit 6b021a8addf6d3c5f2a6ef1af6245e095c21d8ec > > but with > > $ git diff --ignore-submodules=all
Hrm. Isn't "all" the default? That's what git-diff(1) says (but I've never used the feature myself).
That would imply to me that there's another config option set somewhere (perhaps in the repo-level config). What does:
git config --show-origin --get-all diff.ignoresubmodules
say?
-Peff