path.c: remove home_config_paths()
commit846e5dfbab5d5a0a85252c1400dc0371e02e75a8
authorPaul Tan <pyokagan@gmail.com>
Wed, 6 May 2015 08:01:04 +0000 (6 16:01 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2015 18:33:53 +0000 (6 11:33 -0700)
treece3cfe17f08b0d24be70615e8a30f506a11b0690
parent509adc335274d2656829b18e1e83ccabda059ae3
path.c: remove home_config_paths()

home_config_paths() combines distinct functionality already implemented
by expand_user_path() and xdg_config_home(), and it also hard-codes the
path ~/.gitconfig, which makes it unsuitable to use for other home
config file paths. Since its use will just add unnecessary complexity to
the code, remove it.

Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
path.c