git-config: replace use of home_config_paths()
commit509adc335274d2656829b18e1e83ccabda059ae3
authorPaul Tan <pyokagan@gmail.com>
Wed, 6 May 2015 08:01:03 +0000 (6 16:01 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2015 18:33:48 +0000 (6 11:33 -0700)
treef47097944c6c14024afc8408a9e5e088be0296c2
parente682c9db1a7c6a81bb4c2e8e8c1d5191dae3bd9f
git-config: replace use of home_config_paths()

Since home_config_paths() combines distinct functionality already
implemented by expand_user_path() and xdg_config_home(), and hides the
home config file path ~/.gitconfig. Make the code more explicit by
replacing the use of home_config_paths() with expand_user_path() and
xdg_config_home().

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