Submodules: Use "ignore" settings from .gitmodules too for diff and status
commit302ad7a9930a34413418b6436f96826070367647
authorJens Lehmann <Jens.Lehmann@web.de>
Thu, 5 Aug 2010 22:40:48 +0000 (6 00:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Aug 2010 16:11:44 +0000 (9 09:11 -0700)
tree5cd126308137179d75632405e3c084950d8c4e34
parentaee9c7d6540fe6f66fbbe7be420caa26ae0fa2d9
Submodules: Use "ignore" settings from .gitmodules too for diff and status

The .gitmodules file is parsed for "submodule.<name>.ignore" entries
before looking for them in .git/config. Thus settings found in .git/config
will override those from .gitmodules, thereby allowing the local developer
to ignore settings given by the remote side while also letting upstream
set defaults for those users who don't have special needs.

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 files changed:
Documentation/config.txt
Documentation/diff-options.txt
Documentation/git-status.txt
Documentation/gitmodules.txt
builtin/commit.c
builtin/diff-files.c
builtin/diff-index.c
builtin/diff-tree.c
builtin/diff.c
submodule.c
submodule.h
t/t4027-diff-submodule.sh
t/t7508-status.sh