git_config: don't peek at global config_parameters
authorJeff King <peff@peff.net>
Tue, 24 May 2011 22:49:45 +0000 (18:49 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 May 2011 23:20:56 +0000 (16:20 -0700)
commit5a0c9eeb89a19a05cbc2bf570f69f1724ef873dd
tree2fec7cb617ed76289978bea5876fecde13060619
parent3ddf0968c2f64a9f9fa6880d9c22d40459c88335
git_config: don't peek at global config_parameters

The config_parameters list in config.c is an implementation
detail of git_config_from_parameters; instead, that function
should tell us whether it found anything.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c