builtin/config: refactor collect_config()
commitd9b9169b3419edb0fa7a787ec1641ee75397f2a4
authorJunio C Hamano <gitster@pobox.com>
Mon, 29 Jul 2013 21:23:16 +0000 (29 14:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Aug 2013 23:02:28 +0000 (5 16:02 -0700)
tree7a47d7776aaa9038a5db0ceec2c9cd8488b7b28b
parent6a56993b2ec7082521cf14f98ab9fb5a5def4b13
builtin/config: refactor collect_config()

In order to reuse the logic to format the configuration value while
honouring the requested type, split this function into two.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/config.c