checkout: Use submodule.*.ignore settings from .git/config and .gitmodules
commit23b4c7bcc58431beaf9c870a2d6b2ad4fb088a9f
authorJens Lehmann <Jens.Lehmann@web.de>
Sat, 28 Aug 2010 14:50:07 +0000 (28 16:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Aug 2010 07:37:37 +0000 (30 00:37 -0700)
tree3f2414866b1a352f6a7168214d7d6a0e8a11e81a
parent62ed0096423b098f9736f5397edad8aa7bf50210
checkout: Use submodule.*.ignore settings from .git/config and .gitmodules

For "git status" and the diff family the submodule.*.ignore settings from
.git/config and .gitmodules can be used to override the default set via
diff.ignoreSubmodules on a per-submodule basis. Let's do this consistently
and teach checkout to use these settings too.

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
t/t2013-checkout-submodule.sh