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

Re: diff.ignoreSubmoudles config setting broken?

From
Sebastian Schuberth <sschuberth@gmail.com>
Date
Mar 8, 2017, 13:43 UTC
Message-ID
<CAHGBnuM3iM-kHdxdox_1i56uLbv7gQ5ZUY9Xqf4BG7G_kTf+jQ@mail.gmail.com>
In-Reply-To
<20170308133348.2ovfsi44vq2rpgom@sigill.intra.peff.net>
On Wed, Mar 8, 2017 at 2:33 PM, Jeff King <peff@peff.net> wrote:
Show 25 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?
It says:
file:/home/seschube/.gitconfig  all
-- 
Sebastian Schuberth
Previous: Jeff KingNext: Jeff King
Message 3 of 12 in “diff.ignoreSubmoudles config setting broken?”
  1. Sebastian SchuberthMar 8, 2017
  2. Jeff KingMar 8, 2017
  3. Sebastian SchuberthMar 8, 2017
  4. Jeff KingMar 8, 2017
  5. Sebastian SchuberthMar 8, 2017
  6. Stefan BellerMar 8, 2017
  7. Junio C HamanoMar 8, 2017
  8. Stefan BellerMar 8, 2017
  9. Junio C HamanoMar 8, 2017
  10. Stefan BellerMar 9, 2017
  11. Sebastian SchuberthMar 9, 2017
  12. Jacob KellerMar 8, 2017

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.