config: avoid using the global variable `store`
commitfee8572c6ddf6afcfeba023067fea36b835a9df4
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 9 Apr 2018 08:32:09 +0000 (9 10:32 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Apr 2018 12:32:59 +0000 (9 21:32 +0900)
tree55f323d69482948d5b4e6a13cd41d6915f777a63
parent8032cc4462b8af268fe457c2a0431473334dfd18
config: avoid using the global variable `store`

It is much easier to reason about, when the config code to set/unset
variables or to remove/rename sections does not rely on a global (or
file-local) variable.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c