submodule-config: don't shadow `cache`
commit99dab16863c2eca584a84bdde748b9c113717603
authorStefan Beller <sbeller@google.com>
Wed, 27 Apr 2016 21:30:40 +0000 (27 14:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Apr 2016 16:56:16 +0000 (28 09:56 -0700)
tree4f33221232765a4a4c4339cfc4ef70a52afd428f
parent270cd9eaf459b94dee1836de9bf4382afebe1d7b
submodule-config: don't shadow `cache`

Lots of internal functions in submodule-confic.c have a first parameter
`struct submodule_cache *cache`, which currently always refers to the
global variable `cache` in the file. To avoid confusion rename the
global `cache` variable.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule-config.c