submodule: don't rely on overlayed config when setting diffopts
commitfdfa9e97dbffdc6868a1a046456c0ad67dda9e29
authorBrandon Williams <bmwill@google.com>
Thu, 3 Aug 2017 18:19:52 +0000 (3 11:19 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Aug 2017 20:11:01 +0000 (3 13:11 -0700)
tree6fec7609ce4f82cc001f9a103032dd00772c6d9d
parent492c6c46da7847370d8ce0e6d369ae62215b6f8e
submodule: don't rely on overlayed config when setting diffopts

Don't rely on overlaying the repository's config on top of the
submodule-config, instead query the repository's config directory for
the ignore field.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c